https://github.com/030/jops
Jira OPerationS (JOPS).
https://github.com/030/jops
cli client golang jira
Last synced: 5 months ago
JSON representation
Jira OPerationS (JOPS).
- Host: GitHub
- URL: https://github.com/030/jops
- Owner: 030
- License: mit
- Created: 2021-07-18T08:25:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-06T10:37:02.000Z (about 4 years ago)
- Last Synced: 2025-06-09T00:01:46.261Z (about 1 year ago)
- Topics: cli, client, golang, jira
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# JOps
Jira Operations
URL encoding, see https://www.w3schools.com/tags/ref_urlencode.ASP
```bash
= : %3D
space : %20
' : %27
```
## Example
```bash
package main
import (
"github.com/030/jops/internal/jira"
log "github.com/sirupsen/logrus"
)
func main() {
creds := []string{"user", "pass"}
j := jira.Server{Credentials: creds, FQDN: "fqdn", Project: "project-name"}
b, err := j.JQL("jql")
if err != nil {
log.Fatal(err)
}
jira.ParseJSON(b)
}
```
## Close
```bash
./jops done -t some-ticket -c test-ticket
```
## Create
### Prio 4
```bash
./jops create -d hello -s world -p "Prio 4"
```
### Labels
```bash
./jops create -d hello -s world -p "Prio 4" -l dev,devops,dev-something
```
## Changelog
```bash
./jops changelog --ticketNumber=some-ticket
```
## Comment
### Get all Ticket comments
```bash
./jops comment --ticketNumber=some-ticket --all
```
### Add a comment to an existing ticket
```bash
./jops comment --ticketNumber=some-ticket --add --message="hello world"
```
## Sources
*