Skip to content

ncsa/jiracmdline

Repository files navigation

jiracmdline

Cmdline interface to Jira

Web interface

export JIRA_SERVER=jira.ncsa.illinois.edu
export JIRA_PROJECT=SVCPLAN
curl -O https://raw.githubusercontent.com/ncsa/jiracmdline/main/compose.yaml
docker-compose up
  • Listens on port 80:tcp -> mapped to localhost port 8080:tcp.
  • If you have to tunnel to an internal linux box:
    • ssh -L 8080:127.0.0.1:8080 <LINUX.FQDN>

Cmdline interface

  1. Start Docker container
curl -o go_jira.sh https://raw.githubusercontent.com/ncsa/jiracmdline/main/go.sh
bash ./go_jira.sh

View task details

./summary.py svcplan-2023 svcplan-2467

View Epic-Story-Task tree

./summary.py --recurse svcplan-2023

Link sub-Tasks as children of their parent

./mk_children_from_subtasks.py --help
./mk_children_from_subtasks.py SVCPLAN-200 SVCPLAN-201 SVCPLAN-202
./mk_children_from_subtasks.py SVCPLAN-{300..305}
./mk_children_from_subtasks.py --parents SVCPLAN-101 SVCPLAN-157

Add "linked children" to the same epic as their parent

./add_linked_children_to_epic.py SVCPLAN-200 SVCPLAN-201 SVCPLAN-202
./add_linked_children_to_epic.py SVCPLAN-{300..305}
./add_linked_children_to_epic.py --parents SVCPLAN-101 SVCPLAN-157

Find all linked children that don't have an epic

... (and add them to their respective parent's epic)

./add_linked_children_to_epic.py --dryrun --project SVCPLAN
./add_linked_children_to_epic.py --project SVCPLAN

Create linked children from description (also add to parent's epic)

./tasks_from_description.py SVCPLAN-2511

Dev Setup

  1. git clone https://github.com/ncsa/jiracmdline
  2. cd jiracmdline
  3. docker compose -f build.yaml
  4. Browse to http://localhost:8080/