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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 26, 2021
Dumitru Darii November 26, 2021 edited

@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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 edited

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
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events