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

Use StatusCategoryChange in automation

How can I use the Status Category in an automation script?  We have multiple projects that each have unique workflows with a different status as the first "in progress" status or the "done" status.  I want to populate a Start Date field when the issue moves to "in progress" but am looking for a way to not have to include all the statuses being used or having to modify when new projects and statuses are created.  Similarly do the same when the issue hits the final status and populate an End Date field.   This script works for Start Date but only for the projects that uses "In Progress" as their status.  Can I use Status Category rather needing to include all the possible statuses in the "in progress" category?  Start Date.JPG

1 answer

1 accepted

0 votes
Answer accepted

Hey Greg,

I just tested and was able to do this by leaving the trigger for "When Transitioned" blank, so it applies to all status, then setting a condition in JQL.

You can set the condition for the JQL to be  statusCategory = 4 for issues that are "In progress" / Blue 

Then your action will apply to all issues when they are transitioned into in progress.

Screenshot 2023-10-26 135059.png

However if there is any issues that you do not want your action to happen on when you transition to in progress you may need to create a query that decides with more granularity. by including project, issues types, etc.

Thanks.  Do you know what the statusCategory for "Done"/green is or how I can find that for myself?

Thanks, I did a search and determined that 2 is "To Do", 3 is "Done" and 4 is "In Progress".  Thanks for your help 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events