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

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

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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

122 views 6 8
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you