JIRA CLI Can I update an issue referencing a custom field, rather than the issue key?

James Hall April 23, 2014

Hi Bob et al,

I have a 10k issue project to track, and I would love to be able to do the CLI actions by referencing one of my custom variables, or the standsard Summary field, rather than the issue id. Is this possible?

Is it possible to change the issue id if I keep them unique?

E.g. instead of ... addComment --issue SST-115 --comment "hey yo"

I would like to update with something like addComment --Summary '1123434' ...

Currently I thought I would just dump all issue details into a csv using --action getIssueList --project SST_Test > AllIssues.csv and then use Ruby to match the issue key to my unique custom field, and run the updates from there.

Any help or suggestions would be appreciated,

James

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2014

Perhaps if you create a JQL query that finds all the issues (or just one) that that matches your custom field value or summary value (etc....), then you can easily do something like:

--action runFromIssueList --search "<jql>" --common "--action addComment --issue @issue@ --comment ""<comment>"" "

Suggest an answer

Log in or Sign up to answer