jops

module
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: MIT

README

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

Comment

Get all Ticket comments
./jops comment --ticketNumber=some-ticket --all
Add a comment to an existing ticket
./jops comment --ticketNumber=some-ticket --add --message="hello world"

Sources

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL