Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

JMWE several condition check

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:

Screenshot 2022-07-18 at 17.24.20.png

Will this work this way? Or for each request type there should be different workflow execution?

 

Thank you.

1 answer

0 votes
David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 18, 2022

Hi @Anastasia Krutitsenko ,

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" }}

Hi @David Fischer _Appfire_ 

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?

Screenshot 2022-07-18 at 18.01.56.png

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 18, 2022

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)?

Screenshot 2022-07-19 at 09.31.09.png

Here is full post-function configuration.

Screenshot 2022-07-19 at 10.33.04.png

 

I have modified the post-function. Shall this work now or something needs to be changed?

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 19, 2022

@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?

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jul 19, 2022

In any case, the latest screenshot seems correct. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events