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

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 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 ...

3,308 views 14 20
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