@Jon Bartholomew I recommend using "Field Value Changed" and select either "Status" (if moving to Closed status is the trigger) or "Resolution" (if setting a resolution (Done, Won't Done, etc) is the desired trigger).
@Jonny Adams I would rather use status as we have had issues with resolutions not always registering as changed or not being cleared if reopened.
How can I check that it has changed from active to closed? I would normally use the status category (Done) and I see that you can have string functions of From and To, but I had trouble formatting these to get the values.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can keep it relatively simple. The trigger is that the Status value has changed. So, if you set a JQL condition where "status = done" then the automation should know that this issue had a status change and the status now equals done so it will apply whatever action you set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your time on this question.
The two issues I was really having were accessing the statusCategory smart value and its From and To values using the smart value functions, so that I could check it was moving from an active category (not "Done") to a closed category ("Done"). This would catch those occasions when a status is moved from a closed type to another closed type.
However, I am probably over complicating the actual rule, and could complete it with a simple status value change trigger and JQL condition of "StatusCategory = Done" as you suggest.
But it would still be good to get an example of how to get at the From and To values. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In regards to specifying status change you could use from and to as follows.
status changed FROM Closed TO Done
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.