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,463,562
Community Members
 
Community Events
176
Community Groups

How to separate linked issue story points based on the issue type of the linked issue

Edited

Hi Community,

Any help on this would go along way on this.

 

In our dev team we have the ability to run 10% of each devs time every sprint towards own self improvement, however they must be tracked and prioritised like any other ticket. An report ticket (way of seeing who wants to improve where) would then have the acutal improvement tickets linked (workable items like courses etc.) as well as any stories the devs felt truly improved their skill in this area. Now while I believe we could separate out based on link type I do not want to rely on this as sometimes the devs just select a link type and move on.

 

Back on the report ticket the manager wants to know how many improvement points (SPs on improvement tickets) vs actual work points are being put towards each report. This is hopefully for use of getting additional course time etc.

 

I have an automation rule on a schedule that first of all just checks the ticket and compares it to make sure there are linked tickets. Then it will sum up all points from linked tickets using:

{{issue.issuelinks.issue.Story Points.sum.floor}}

 

Since the improvement tickets and actual work are different issue types I was wondering whether we would be able to separate and run a only include if linked issues issuetype = X.

 

I have tried allsorts of combinations including:

{{issue.issuelinks.issue.type(improvement).Story Points.sum.floor}}
{{issue.issuelinks.issue.type.improvement.Story Points.sum.floor}}
{{#if(equals({{issue.issuelinks.issue.type.improvement}}))}} {{issue.issuelinks.issue.Story Points.sum.floor}} {{/}}
{{#if(equals({{issue.issuelinks.issue.type}}, "Improvement"))}} {{issue.issuelinks.issue.Story Points.sum.floor}} {{/}}
{{#if(equals(issue.issuelinks.issue.type, Improvement))}} {{issue.issuelinks.issue.Story Points.sum.floor}} {{/}}

 

Happy to have ideas and comments,

Dan

 

 

 

1 answer

0 votes

Hi @Dan Tombs 

From what you described, it is unclear what you are doing with those summed values: sending emails, adding comments, updating a field, etc.

If you are updating a field, you may want to use JQL to find the linked issues by type to use the sum.  I suggest that as I do not believe the smart value list filtering you tried can work...it would require loading all of the issues in a tree potentially.

To do this using Jira Cloud, you could use your scheduled trigger on the starting point issues, and then use Lookup Issues to gather/sum with JQL.

With Jira Server/Data Center, you would instead use the bulk handling option for a branch and the {{issues}} smart value to treat them as a set.

Kind regards,
Bill

Hey @Bill Sheboy,

Sorry I should have made that clear. Yes we are setting custom field values on the report ticket. Trying to rollup the points effectively.

 

What would be great is to be able to filter all linked issues based on the issuetype of the linked issue and not the link type. This way you could split out the points to relevant fields without having to rely on devs selecting the right link type.

 

Dan

Hi, Dan.

You may add the issueType check to your JQL when you use LookupIssues and so get only that sum.  To do this for multiple issueTypes you would need multiple LookupIssues calls.

The other alterative is to gather all the issues with one LookupIssues call, than use both smart list filtering and math operations to sum for each issueType you want.

Thanks,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events