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

Update fixVersion of multiple issues with CLI

Hello,

I want to update the fixVersion from issues that reletes to a search or a filter. When I try to use the updateIssue action for a single issue everything works fine but when I try to combine the updateIssue action with the runFromIssueList action I get some errors.

I use this script:

jira --action runFromIssueList --common: '--action updateIssue --issue @issue@ --fixVersion "1.1" --autoVersion"' --filter "NextRelease"'

I get the following mistake:

Unexpected argument: updateIssue

Unknown flag: fixVersion

Someone has any idea?

Thanks in advance

1 answer

Try:

jira --action runFromIssueList --common: "--action updateIssue --issue @issue@ --fixVersion 1.1 --autoVersion" --filter "NextRelease"

Tips has information regarding dealing with quoting.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

968 views 15 12
Join discussion

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