Forums

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

Buil a counter with automation rules (workflow)

Dumitru Darii November 25, 2021

Hi community!

Need to build a counter, that will work every time when a task is turned back from "frozen" tasks to tasks "in process".

Further details:

Jira.png

1 answer

0 votes
Tansu Akdeniz
Community Champion
November 25, 2021

Hi @Dumitru Darii 

The following should work

{{#increment}}{{issue.My Customfield}}{{/}}

Please also check this link for further info.

Dumitru Darii November 25, 2021

Hi @Tansu Akdeniz thanks for answer.
Tried to put provided above code, but no possibility to put code / text, just numbers.
I'm using Jira cloud.

Tansu Akdeniz
Community Champion
November 26, 2021
Dumitru Darii November 26, 2021

@Tansu Akdeniz thaks for answer!

If it's possible show me the path to find this option, for example:
--> open task --> click gear button settings --> go to xxx, yyy, zzz. 

Tansu Akdeniz
Community Champion
November 26, 2021

Go to the project -> project settings -> automation -> add new automation.

  • Trigger: Issue Transitioned (A to B status)
  • Action: Edit Issue -> Choose the field to increment.
Dumitru Darii November 26, 2021

Found it THANKS!
But stil not working, Futher details:

1. deleted previous rules form automation workflow

2. seted new rules:

jira9.png

Dumitru Darii November 26, 2021

Changed code like this:
{
    "update":{
        "Back from check counter":[{
            "set":{{#increment}}{{issue.Back from check counter}}{{/}}
        }]
    }
}

still not working

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