Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/030/jops
Jira OPerationS (JOPS).
https://github.com/030/jops
cli client golang jira
Last synced: 21 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-06T10:37:02.000Z (over 2 years ago)
- Last Synced: 2024-06-20T19:25:18.134Z (5 months 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 mainimport (
"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
*