How to count the total number of linked issues by AUTOMATION RULE

Anetha October 29, 2024

count the total number of linked issues  in  a Subtask

1. Manual Trigger is used to create a issue type Test  which is linked with the Subtask

2. Every time the issue Test is created it has to count and  get updated in the Subtask description

2 answers

2 accepted

2 votes
Answer accepted
Anetha October 29, 2024

so far I have developed the manual Trigger to generate the creation of issue type Test under Subtask.

But I am struggling to do the count of the Test type creation and updating it in Description of the Subtask

 

2 votes
Answer accepted
Bill Sheboy
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.
October 29, 2024

Hi @Anetha -- Welcome to the Atlassian Community!

What have you tried thus far to solve this need?

If you have a rule that is not working as expected, please post an image of the complete rule, an image of the audit log details, and explain what is not working as expected.

If you have not yet started a rule, I encourage you to try to do so.  The rule could use the Lookup Issues action with JQL and the size function to count the linked issues:

https://confluence.atlassian.com/automation/jira-automation-actions-993924834.html#Jiraautomationactions-lookup-issuesLookupissues

https://confluence.atlassian.com/automation/jira-smart-values-lists-993924868.html#Jirasmartvalueslists-list.sizelist.size

 

Kind regards,
Bill

Anetha October 29, 2024

so far I have developed the manual Trigger to generate the creation of issue type Test under Subtask.

But I am struggling to do the count of the  issue type Test creation and updating it in Description of the Subtask

Bill Sheboy
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.
October 29, 2024

You may do that with the Lookup Issues action I described.  I recommend finding an example issue and writing JQL to find the issues you want to count.  Then update the JQL to be used in the rule with that action.

Suggest an answer

Log in or Sign up to answer