Count link issue in clone ticket
Asked by Darshil Trivedi:

++**Dear All looking for automation**++

Count link issue in clone ticket and set this to my manager.

Can anyone have this automation ?

Thanks


Answers:
author: Trudy Claspill
body: Hello [@Darshil Trivedi](/t5/user/viewprofilepage/user-id/5373135)

Welcome to the Atlassian community.

Can you provide more information about your scenario?

Can you provide a screen image of an issue for which you want to produce this report, and point out the linked issues that should be counted?

comments: author: Darshil Trivedi
body: Hi

"While I don't have a screenshot available, I can offer an example to illustrate the situation. Let's consider a scenario where we have two clone tickets: Clone-ABC-1001 and Clone-ABC-1021. In Clone-ABC-1001, there are 50 linked tickets, whereas Clone-ABC-1021 has 30 linked tickets.

Now, you're looking for a solution to automate the generation of a report detailing the number of linked tickets in each clone ticket and then send that report to you. Is there a specific format or method you prefer for receiving such reports?"

![Untitled.png](https://community.atlassian.com/t5/image/serverpage/image-id/305447i23D5B8C3E20E1AC9/image-size/large?v=v2&px=999 "Untitled.png")


author: Trudy Claspill
body: If you do a search for issues that you know have links and then change the view to List...

![Screenshot 2024-02-09 at 9.58.42?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/305513i677B1FFF78DE05FE/image-size/large?v=v2&px=999 "Screenshot 2024-02-09 at 9.58.42?AM.png")

...you can then add the Linked Issues column to show all the linked issues for each issue as part of the output.

![Screenshot 2024-02-09 at 9.57.40?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/305514iC8A382A961CAFBC3/image-size/large?v=v2&px=999 "Screenshot 2024-02-09 at 9.57.40?AM.png")

You can then Export that information.

That won't automatically count how many linked issues there are.

If you need to have the count also automatically provided, then you could use an Automation Rule to get that information and store it in another custom field in each issue. Then you could include that custom field in the Columns of the search result output.

You could then save the search and set up a Subscription to distribute the report on a schedule to members of specified user groups.

If the recipients are not all identified in user groups, then each recipient would need to set up their own subscription to the saved filter.

Alternately, you could use an Automation Rule to retrieve the information and send it in an email to the designated recipients.

Have you worked with Automation Rules before? Automation Rules can be created by Jira Administrators. Permission to create Automation Rules can be granted to other users by Jira Administrators. If you are unsure if you have that permission, contact your Jira Administrators to find out.


author: Darshil Trivedi
body: HI [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Can you please guide me more for automation I have Admin access ?

Thanks

Darshil Trivedi


author: Trudy Claspill
body: Hello [@Darshil Trivedi](/t5/user/viewprofilepage/user-id/5373135)

Have you reviewed the documentation for Automation Rules and tried creating a rule for this?

<https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/>


Tags: cloud

jira-service-management

jira-service-management-cloud