Hi all,
I have tried several things, searched the web and the JIRA community to find a solution but didn't succeed until now, so I hope someone has an answer!
What I would like to do, is to set the field fixVersion of the current issue on status change (e.g. "Done") to the current unreleased version.
I tried to set up a function on the status change, but didn't find a suitable solution. I was also trying to come up with a groovy script using the ScriptRunner plugin. No success as well.
Does someone know how to do that?
Finally found a solution, after creating this issue in the right menu using ScriptRunner: https://community.atlassian.com/t5/Jira-questions/ScriptRunner-set-fixVersion-in-transition-post-fuction-not/qaq-p/1288387
Is there any other solution using transition functions without a groovy script?
Using the "Automation for Jira" app (even the Lite, free version should be able to do this), you can create a rule that is triggered by the transitions and which use the "set field" action.
It should be trivial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Aron,
thanks for your quick reply. Do you know, from the top of your head, which function I can use to receive the current unreleased version(s) to be set on fixVersion? Is it possible to use the JIRA API?
Best Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure.
The Automation app has a concept of "smart values", that's where I'd start searching in addition to the usual "Google is your friend". Best would be to check the "reference" of smart values if there is.
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.