I'm currently working on a JIRA migration, , and one of the issues I came across was that after importing my issues into the new instance, all my previous Versions were showing as Unreleased.
I'm attempting to use JIRA CLI to fix this issue, and my goal is to bulk set all of my Versions to "Released". I was attempting to use a wildcard character like an asterisk, but the syntax does not seem to recognize that.
Here is the command I was trying to use:
./jira.sh --action releaseVersion --project "Radnor" --dateFormat "dd/MMM/yyyy" --description "Bulk release for JIRA Migration" --version "*"
However, I just get an error that says "Client error: '*' is not a version for project RAD."
Any insight on how I can apply this command to all my Versions?
UPDATED
Hi @Brian Hourigan - The version parameter doesn't accept matching arguments such as "*". The way to approach this is to use runFromVersionList to release the versions from the list.
Example:
--action runFromVersionList --project "ZJIRACLIRUNNER" --common "-a releaseVersion --project ZJIRACLIRUNNER --version \\"@version@\\"" --continue
Thanks for your answer Michael, that was very helpful! I just had to make one tweak in that I used a single \ instead of \\. I was getting an error with the double slashes, but all is working now.
Appreciate your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help @Brian Hourigan
Would you mind accepting my answer so this thread is closed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.