Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,621
Community Members
 
Community Events
185
Community Groups

Sum Of Two Calculation field to third custom field

Edited

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

1 answer

0 votes
Alexander Pappert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2020

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

3rd custom field be story issue type

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events