I have a workflow than can go into statues like this:
A --> B
B --> C
A --> C
I only want to execute an automation rule when the issue is transitioned to C but only from B status. So I need to check to things in order to execute the rule:
(1) The issue transitioned to C
(2) The issue was transitioned from B
Thanks for the help!
Hi Sebastián,
To do this you can create a rule with the following:
It should look like this:
The value for the First field is:
{{fieldChange.fromString}} -> {{fieldChange.toString}}
Hope that is what you were after.
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm going from "In QA" to "In Progress" and I tried those statuses with and without quotes (single and double) in the "Second Value" filed but neither seems to match against the values described in the first field. Is there a special way this needs to be formatted when there are spaces in the status names?
EDIT:
Apparently, it matters what trigger is chosen. To use this solution, make sure you are using the "Field value changed" trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Yes, for that syntax you need to use that trigger. It is what populates "fieldChange".
If you want to use another trigger you will need use:
{{changelog.status.fromString}} -> {{changelog.status.toString}}
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As this comment is out of date (like seemingly most support threads here on Jira), note that the webhook has changed..
from:
{{changelog.status.fromString}} -> {{changelog.status.toString}}
to:
{{changelog.items.fromString}} -> {{changelog.items.toString}}
Jira, get it together.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same problem as described by Sebastián. As stated by Jim I used the new webhook. Unfortunately I can’t get the advanced compare to work. Below you find a screenshot of what I have so far.
It is in Dutch but I hope anyone can point me in the right direction.
Thanks in advance.
Anton.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I read on this page that {{changelog}} will not be populated if you use the wrong trigger.
So that basically answered my question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.