You can create a Script Runner Scripted Field.
The script for the field will look like:
import com.atlassian.jira.component.ComponentAccessor a = ComponentAccessor.getIssueLinkManager().getLinkCollection(issue, issue.reporter).getAllIssues().size() a.toString()
More info on scripted fields:
Hi Thuy Mai,
Try Database Value plugin and
https://answers.atlassian.com/questions/215718/scripted-field-to-return-number-of-cloned-issues-not-workingscripted field will help you most rather than DB value plugin.
I think its little bit closer to your requirement.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot