Last active
October 3, 2016 21:08
-
-
Save op-ct/f3b864a58e12b6b46704a8e42480085f to your computer and use it in GitHub Desktop.
jira-cli example to submit a bunch of Jira subtasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires jira-cli gem (from https://github.com/drn/jira-cli; 0.3.6 in example) | |
PARENT_ISSUE=SIMP-1054 | |
JIRA_ASSIGNEE=chris.tessmer | |
# Create a batch of new issues | |
for i in `cat x`; do jira new -p SIMP -c pupmod-simp-$i -s "Fix STRICT_VARIABLES=yes for pupmod-simp-$i" -a ${JIRA_ASIGNEE} -i Sub-task --parent=${PARENT_ISSUE}; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires jira-cli gem (from https://github.com/ruby-jira/jira-cli; 0.3.6 in example) | |
# Tranisiton a batch of issues to "In Progress" | |
for i in `seq 1597 1657`; do jira transition "SIMP-$i" -t 'In Progress'; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment