JOps
Jira Operations
URL encoding, see https://www.w3schools.com/tags/ref_urlencode.ASP
= : %3D
space : %20
' : %27
Example
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
./jops done -t some-ticket -c test-ticket
Create
Prio 4
./jops create -d hello -s world -p "Prio 4"
Labels
./jops create -d hello -s world -p "Prio 4" -l dev,devops,dev-something
Changelog
./jops changelog --ticketNumber=some-ticket
./jops comment --ticketNumber=some-ticket --all
./jops comment --ticketNumber=some-ticket --add --message="hello world"
Sources