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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,343 views 14 25
Read article

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