Need to count the number of Total Linked Issues and Open Linked Issues using Automation

Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2022

Hello All,

We have a use case where we need to count the number of Total Linked Issues and Open Linked Issues for a given issue type.

There are 2 Custom Issue Types 'Alpha' and 'Beta'. Each 'Alpha' can be linked to multiple 'Beta' issues, but each 'Beta' is only linked to a single 'Alpha' issue.

We need to display the count of Beta issues on every Alpha issue, both as Total and only Open ones.

I have tried using Automation but have not been successful. Kindly help me with this.

Please note: Additional plugins are a constraint and we need to implement using Automation only.

1 answer

1 accepted

3 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2022

Hi @Gaurav 

Try the following smart values and you will get the values you seek:

  • Total number of issues: {{issue.issuelinks.size}} 
  • Total number of resolved issues:  {{lookupIssues.size}}
    • Prior of placing the above value, create a lookupissue with the following jql issue in linkedIssues({{issue.key}}) and resolution = unresolved

Hope that helps!

Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 6, 2022

Hello @Alex Koxaras _Relational_ 

Thanks for the response. This really helps.

I have one follow-up question, is it possible to separate the inward and outward links? For some cases we need to count only for the Inward Links rather than all linked issues.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 6, 2022
Like Gaurav likes this
Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 6, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events