I've tried using the ScriptRunner plug in with a groovy script:
issue.parentObject.status.name == "REALISATION"
I used a conditional custom script to be placed at the transition between the statuses but it doesn't seem to work. I would like to use the scriptrunner plugin as we do not have the capacity for the jira workflow extension.
Thanks all.
Hello,
is really your status in capitals? Jira make them appear in capitals in UI, but you need to check proper status name in administration (Issues -> Statuses).
Also, better way to write the script like this:
issue.parentObject?.status?.name == "Realisation"
Where ? makes it check if the object exists. In your solution if parentObject or status return null, script crashes. With ? it won't crash.
Have a nice day.
Yes the status is really in capitals. Thank you for that insight, it did worked out in the end. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This script worked for me! Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.