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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

129 views 16 7
Join discussion

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