Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation to incremebent a field on specific transition path

Lexi April 5, 2024

So, I am using this solution which works great for one of my use cases. https://community.atlassian.com/t5/Jira-Software-questions/Increment-Custom-Field-on-Transition/qaq-p/138821

BUT i have a second use case where i need to only increment a field if a specific transtion path used to get to a status.

I have the statuses FAILED and QA to DO

From Failed there are 2 paths back to QA to DO

1) Failed -> In progress -> resolved -> QA to DO

2) Failed -> QA to Do

 

with the second path, the user clicks the "invalid workflow" button. When THAT specific action happens i want to increment my custom field of "invalid failure count"

How do i do this? the solution i linked will increment that field no matter which path is taken?

 

 

2 answers

1 accepted

0 votes
Answer accepted
Camilo Galleguillos
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.
April 5, 2024

Hi, @Lexi

The native solution would be to create two separate automation rules, specifying both the source and target statuses for each case. E.g:

  • From status "Resolved" to status "QA to DO" -> Add to counter field A
  • From status "Failed" to status "QA to DO" -> Add to counter field B

Best,
Camilo Galleguillos R.

Lexi April 5, 2024

i fear i may have overthought this.....will try that.....feeling a little silly now

0 votes
Bill Sheboy
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.
April 5, 2024

Hi @Lexi 

I believe your link to that old post is truncated.  Is this the one you wanted?

https://community.atlassian.com/t5/Jira-Software-questions/Increment-Custom-Field-on-Transition/qaq-p/1388215

If so, please post an image of your complete rule and the audit log details showing the rule execution; those will provide context for the community to help.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events