How to add a post function to a workflow transition to set a custom field

I have a custom field A (number based) that is part of a screen used in a transition. The workflow is such that this transition could happen more than once in the lifecycle of the issue. During one transition, say a value 30 could be entered and on next transition 40 could be entered.

I have created another custom field A' (number based) that can store the aggregated value of A for all transitions. Now I want to write a post function on the transition of the form: A' = A' + A. So when the issue is resolved, I could use the aggregated value A' in my report/dashboard etc. How do I write this logic in the post function?

NB, I have seen this link and it does not clearly tell me how do I do it. I have JIRA Suite Utilities enabled and when I create a post function, I do get option of 'Update Issue Custom Field' where I mention A' in the 'Issue Custom Field'. What I do not know is how to enter the formula in the 'Custom Field Value'.

1 answer

0 votes

Hi Viney,

Unfortunately that's not possible to achieve in JIRA Cloud. There's an open improvement regarding this request being tracked at Please add yourself as a watcher to be notified of future updates.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,111 views 4 9
Read article

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