You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello,
I need to launch a rule on Automation for JIRA when my issue transitionned from "Test" to "Waiting for Fix" and only in that case.
I used:
- Trigger --> Issue transitioned
- Condition --> status = "Test" AND status CHANGED FROM "Test" TO "Waiting For Fix"
There is one case for which it is not working: Let say my issue already transitionned from "Test" to "Waiting for Fix" 10 days ago. Today I transition my issue from "Test" to "Resolved" (this is another status available from Test)
The rule will be launched because my trigger is OK and my condition is OK.
I would like something like "Trigger only from "Test" to "Waiting for Fix""
Thank you for your help.
Romain
Hey Romain,
In order to do this you can use the "Compare Condition" and access the changelog for the previous value and current value.
The condition will have following values:
First Value:
{{changelog.status.first.fromString}} - {{changelog.status.first.toString}}
Condition: Equals
Second value: Test - Waiting for Fix
Hope that is what you were after.
Cheers,
Nick
Thank you Nick. I used something very similar and it works!
Checks if:
{{#changelog.status}}{{fromString}} - {{toString}}{{/changelog.status}} equals Test - Waiting for Fix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made minor changes and it worked for me..
{{#changelog.status}}{{fromString}} - {{toString}}{{/}}
Equals
Open - In Progress
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 found this looking for ways to find the most recent Status, but another way to solve the above use case is to register a Webhook in Jira settings and add it to that transition as a post function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Romain, I have the same rule with several staus from "Test"
Your rule config should be
- Trigger --> Issue transitioned
- Condition --> status = "Waiting For Fix"
With this way it works fine for me. hope it helps.
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.