Hi,
I'm using JIRA 4.4.4 and I have downloaded and installed JIRA CLI. It works fine in cmd window for the most part, but I'm having trouble when putting it in a batch script. The batch script stops executing after the first jira command.
For example, temp.bat contains two lines,
jira --action createIssue --project "Test Project" ...etc etc
jira --action progressIssue --issue "TST-39" --step "Investigate"..etc etc
Now run temp.bat. It stops after successfully creating an issue, without continuing on to progress the issue. Executing these two commands seperately by hand in cmd window works fine, but that defeats the purpose of this plug-in.
On a seperate note, I also noticed jira --fixVersions does not work. For example, my project has a version called V1. Doing --fixVersions "V2" will result in an error telling me the project does not contain this version. Doing --fixVersions "V1" returns no error but the fix Version(s) field just does not get populated.
Thank you
Have seen the behaviour, I don't know the root cause (may be the return values of the commands). So to make it work, just call cmd /c "jira --action ....." for each command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked for me..thanks a lot Renjith :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me too - several years later here, and I was having exact same problem - "cmd /c" did the trick.
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.