status categories for issue transitioned trigger

Renni Verho October 5, 2022

In Jira automation - Data Center and Server we use issue transitioned trigger quite much. 

 

Issue transitioned Trigger works with from and to status which is ok if automation is used for one or couple of workflows.  We would like to extend some automations to many projects and workflows. In workflows is many statuses which mean long list to from and to statuses. To avoid long lists which needs continues maintenance would like to use status categories. 

In our example case would like to trigger if issue is transitioned from todo issue category to in progress issue category.  

As small improvement/workaround to our original from status - to status lists is to use is to use only from status and then if issue match JQL  "statusCategory = "In Progress"".

Any possibility to get status categories to Issue transitioned trigger ? 

 

Br, 

Renni

2 answers

0 votes
Nic Brough -Adaptavist-
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.
October 5, 2022

I usually fix this with Scriptrunner - the derived field, not the Automation you are trying to do.

I create a scripted field, don't bother to put it on any screens, and have a script that populates it based on issue.status.statuscategory

That would solve your Automation problem, but you might as well do the whole lot in Scriptrunner if you've got it.

But the reason I mention it is that I think you might be able to automate the scripted field I did in SR.

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2022

Hi Renni,

The only thing I can thing of is to leave the From and To blank, and then add a Condition using JQL for statusCategory = "To Do" or something to that affect. 

But sure to test that with a small subset first. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events