Hi,
I want to display sum of two number fields to third number field.
E.g.
Two Subtasks (Child issue )and One Story (Parent Issue)
Subtask 1 : custom field value 10
Subtask 2 : custom field value 20
If i closed two subtask then sum the both filed value to third custom field
Story : Custom field : 30
the Third custom field in parent issue : e.g (Story,epic)
Can you please suggest how to get this via Workflow transition / using power script
Where do you want the 3rd field?
If it is in Subtask, you could work with JMCF
something like
(issue.get("customfield_1") != null ? issue.get("customfield_1") : 0) + (issue.getParentObject("customfield_2") != null ? issue.getParentObject("customfield_2") : 0)
Or Automation for jira with the math operation
maybe you have to copy the values from subtask to parent first before you can calculate them
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.