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 https://confluence.atlassian.com/pages/viewpage.action?pageId=310378700 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 vote

Hi Viney,

Unfortunately that's not possible to achieve in JIRA Cloud. There's an open improvement regarding this request being tracked at https://jira.atlassian.com/browse/JRA-40609. Please add yourself as a watcher to be notified of future updates.

Cheers,

Clarissa.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

131 views 0 2
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