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,554,749
Community Members
 
Community Events
184
Community Groups

Automate custom field in parent link based on % value from child links

Hello,

I need an automation which does the following action:

  • Automate the average field "Avancementt" in parent link based on values of field "% Avancement" from child links.

What i have got so far:

automation_avancement.PNG

Basically, when the values for "% Avancement" of ISPF-292, ISPF-290 (Linked issues) and ISPF-291, ISPF-288 (Child issues) are changed, the calculation of the field "Avancementt" should occur on ISPF-289 (Objectif - Parent Link).

But the problem is that the average is being calculated with only the linked issues.

automation_parentLink.PNG

 

Can anyone help how to calculate the average for field "Avancementt" in parent link by considering all linked issues and child links?

Thanks.

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2023

Do you want the rule triggered by a change in the field in one of the linked or child issues, or is it triggered by a change in the field in the parent issue?

What are the issue types of these issues (parent, linked, and children)? The default issue hierarchy in Jira is

Epic level issues
|-- base level issues
|-- subtask level issues

At what level is the issue type for each of the issues in this use case?

The rule will be trigerred when child or linked issue will be changed.

The issue type could be both a linked issue or a child issue.

The aim is to have the sum of % Avancement in the parent issue(Ticket).

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2023

When I asked about the issue type I am trying to understand  that in terms of the issue hierarchy I described. Is.the parent issue at the Epic level or the base level? What level are the linked and child issues?

I see the parent issue type is Object. What is the name of the issue type for the child and linked issues? Is that the only type of issue you would want to consider in the calculation?

Is relates to the only type of link you use to link these types of issues together? 

Do you use that link type to link Object issues to other types of issues? If so would you want those other types of linked issues included in the calculation?

Is %Avancement a Number field?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events