Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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).

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

*