Hello,
I would like to set a JMWE Conditional execution, so the point is - when a ticket is created it duplicates same request to another project. The only thing is it has to match 7 different request types:
Will this work this way? Or for each request type there should be different workflow execution?
Thank you.
you mentioned "different request types" but your code snippet refers to the Issue Summary. Is your conditional execution based on issue summaries or the "customer request type" field (from Jira Service Management)?
If it is based on the Summary, then your approach is correct except that you need to use the "or" operator between conditions, all in a single expression:
{{ issue.fields.summary == "Summary A" or issue.fields.summary == "Summary B" or issue.fields.summary == "Summary C" }}
Thank you for the quick reply. The execution is based on Summary.
The execution failed. Could you please advise on how to set it correctly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem doesn't seem to be related to conditional execution. Can you share the full post-function configuration? Also, did you expand the error to look at the details (click on the > arrow)?
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.
I have modified the post-function. Shall this work now or something needs to be changed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anastasia Krutitsenko the configuration you have shared is for a Create Issue(s) post function, but the errors were for an Email Issue post function so I think you got confused. Can you double check?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In any case, the latest screenshot seems correct.
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.