It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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,


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
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

45 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you