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

Condition to execute transition with previous status

Hello community, I am needing help creating an automation.

Context:
- I have the following workflow, I need to add a conditional in the automation that allows me to transition from the "TAKING EXAM" state to the state marked with the letter C or D

WF.png

- The condition must be: if the issue passed through state B at some point in the workflow, then transition to state D

Is there any JQL search or smart value to apply that condition?

Note: the conditional is already configured in the WORKFLOW, but I need to specify it in an automation.

I have the automation set up as follows, but I am open to reading your opinions:

Captura .png

 

Thank you very much in advance for your collaboration.

2 answers

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 25, 2023

Hello @Dario Alarcón 

Looking at the first image in your original post you could modify the JQL in the trigger to include

AND status WAS "Certification Attempt 2 Planned"

That will result in limiting your selection to the issue that did, indeed, exist in the B status at some point in the past.

If you don't want the clause within the Trigger then you can add it as a Condition thus

Screenshot 2023-09-25 at 2.36.22 PM.pngScreenshot 2023-09-25 at 2.36.07 PM.png

@Trudy Claspill thanks for your help!

I was able to solve it. 🙌🙌🙌

Like Trudy Claspill likes this

I was thinking of using the following "if" block: Advanced compare condition
But I don't know how to write the smart value referring to state "B"

Captura 1.jpg

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events