Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

the task moves to status automation rule

Ivan Andrieiev
Contributor
January 30, 2023

Is it possible to implement an automation rule? The value of the smart field must be populated each time the task moves to a certain status.
For example, in development and testing. It is necessary to count how many times the task was in the testing status.

1 answer

1 accepted

1 vote
Answer accepted
Bhanu KN
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.
January 30, 2023

Hi @Ivan Andrieiev , 

Hope you are doing well.

Create a number-type custom field with an initial/default value of 0. 

Create an automation rule for the project with the following:

  • Trigger: When the issue moves to a certain status
  • Action: Increment the value of that field by 1. 

In the provided SS, I increment the value of the field sum whenever the issue is moved to In progress.

Note: I am using the field ID of sum in the smart value.

Here is how you know your custom field ID. Refer to Using URL section (the easiest). 

Capture-11.PNG

 

Hope this helps:)

Regards,

Bhanu

Ivan Andrieiev
Contributor
January 31, 2023

@Bhanu KN  Hi

It works, but Is it possible to somehow count the sum of times? And not just write +1+1.

Ivan Andrieiev
Contributor
January 31, 2023

I found answer in my case.

{{#=}}{{issue.customfield_10088}}+1{{/}}

Ivan Andrieiev
Contributor
January 31, 2023

Thanks a lot!!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events