Hi all ,
the thing is that i want to change the status of an issue, freshly created, to one of the next status based on the value of a field entred in the creation of this issue, all that using script runner.
Hope you understood my question.
Thnx for all
Hi Youssef,
Are you using ScriptRunner for Jira Server? I would suggest taking a look at our documentation here: https://scriptrunner.adaptavist.com/5.3.9/jira/builtin-scripts.html#_fast_track_transition_an_issue
The fast-track post-function is what you are looking for. You can set up a fast-track post-function to automatically transition your issue to the next status based on the value of a field entered during creation.
For example, your fast-track condition might check for the value of "priority"
issue.priority?.name == 'Major'
If priority is 'Major', then the condition is true and the issue is transitioned.
Regards,
Josh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.