Hi @valkyre57 ,
Note that all the clauses must be inside a single {{ }} block :
And, of course, the user executing the post-function must have assign issues permission.
Thanks,
Suprija
Hi @valkyre57 ,
Did you test without the Conditional Executional script? - i.e., is the Assignee being set correctly without the conditional execution script?
As you are checking for the status of the issue - note that the issue's status will be either the Status before the transition or the Status after the transition - as post-functions in cloud run asynchronously.
If you want to check the destination status : use transition.to_status
{{ issue.fields.issuetype.name == "Bug" and transition.to_status == "rtrtrtrtr" }}
Else, if you want to check the source status : use transition.from_status
{{ issue.fields.issuetype.name == "Bug" and transition.from_status == "rtrtrtrtr" }}
Thanks,
Suprija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @valkyre57 ,
I'm glad it worked! Please feel free to accept my answer if it helped you.
Regards,
Suprija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @valkyre57 ,
have you checked that the user is available as an assignee (assignable user project permission) and if the executing user of the post function is also able to assign the issue? You should also be able to troubleshoot this with the help of the status and log page of the app. :)
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @valkyre57 - Why don't you just use an Automation for Jira rule to set the assignee based on those conditions?
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.