Help with 'increase value of custom field' post function

Hi,

I want to count the number of times a JIRA ticket goes through a transition. 

I have installed the JIRA Misc Workflow Extensions plugin (demo version - will purchase if I can get this working). I have set up a custom field of type "transition counter" and linked that to the transition id I want to count via a comment in the transition counter field, as follows:

<!-- @TransitionId: transition_ID_121 -->

 

Now, it's my understanding that in order to increment that field, I need to use a post function of type 'increase value of custom field' on the transition? However, I can't see this as an option.

 

What am I missing?

Thanks

3 answers

Hi John, 

I believe that this post-function will only work when there is a status change on your workflow. To set this up you need to visit your project >> administration >> edit the workflow >> select the transition you'd like to add this post-function >> add it there. If you have installed the JIRA Misc Workflow Extensions , the option 'Increase value of field' should be available to you when adding a post-function. 

Please let us know how it goes.

Cheers!

John, try changing the field's description to

&lt;!-- @TransitionId: 121 --&gt;

This should automatically count the number of transitions, no post function required. 

Thanks Peter, that was the solution (clarification received on the forum below, but thank you all for your responses!)

https://innovalog.atlassian.net/wiki/display/JMWE/questions/36864003/answers/36864011

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,980 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot