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

Using # of blocked ideas/issues to calculate impact score

Christian Wietholt September 14, 2023

I just put all our ideas into JPD and I really like the impact score system and its flexibility. I have multiple ideas in my backlog that block the implementation of other ideas. I would like the number of ideas/issues being blocked as a variable in my impact score computation. How would I do that? 

The only option I can think of is creating a new number field that needs to be manually set to the # of blocked ideas. This of course can cause sync issues, if the # of blocked ideas changes, you always have to remember to change the field. Is there an automated option? 

1 comment

Comment

Log in or Sign up to comment
matan_grady September 14, 2023

You could create the following automation -

 

When - issue linked

Then - lookup issue with jql like 

issue in linkedIssues({{issue.key}}) and linkType = "blocked" (not sure about this part, try out the jql)

Set the field with  {{lookupIssues.size}} 

Like # people like this
Christian Wietholt September 21, 2023

Sorry I missed your quick reply. This was an excellent suggestion and it works perfectly. 

Here is what I did: 

  1. I had to rename my issue link type from "Blocks" to "Blocking" to get around this one: https://community.atlassian.com/t5/Jira-questions/JQL-for-Blocking-Issues/qaq-p/1365975
  2. Created a number field to show how many issues are being blocked
  3. Added the following Automation: 
    1. When: Issue linked, Types: Blocking
    2. Then: Look up issues: "issue in linkedIssues({{issue.key}}) AND issuelinkType in ("is blocked by")"
    3. And: Edit issue fields: Blocked Issues: {{lookupIssues.size}}
  4. Added a second Automation for when an issue link has been deleted: 
    1. When: Issue link deleted, Types: Blocking
    2. Then: Look up issues: "issue in linkedIssues({{issue.key}}) AND issuelinkType in ("is blocked by")"
    3. And: Edit issue fields: Blocked Issues: {{lookupIssues.size}}

Now when someone adds/removes a new blocked issue, the Blocked Issues field is updated with the number of issues blocked by the current issue. 

Like matan_grady likes this
matan_grady September 21, 2023

@Christian Wietholt glad it worked! appreciate if you can accept the answer :) 

Like Christian Wietholt likes this
Christian Wietholt September 21, 2023

I am not sure how to "accept the answer". I don't see a particular link or button for this. 

TAGS
AUG Leaders

Atlassian Community Events