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

Transition trigger for Automation for JIRA

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

3 answers

1 accepted

3 votes
Answer accepted
Nick Menere
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 26, 2017

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

Like Blake_Pusztai likes this

I made minor changes and it worked for me..

{{#changelog.status}}{{fromString}} - {{toString}}{{/}}

Equals

Open - In Progress

For some reason it doesn't work for me in Data Center 7.4 version ?

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. 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events