Thanks for the above code Alexey.
yeah, I use Adaptivist ScriptRunner add-on.
Here I need to fetch summary from one Issue Type and display it in different Issue Type. For example - I need to fetch summary data from Bug and display it in Task Issue Type.
In this case, issue.summary wont get the required data.
What is your Jira version? And in what custom field of the Task issue you want to see the summary of the Bug issue?
Moreover I guess you can see now the summary of the Bug issue in the link web panel of the Task Issue. I mean when you enter the detailed view of the Task issue you can see the linked issues with the Task issue and you can see there the summaries of the linked issues. Why it is not enough?
Jeevan, I don't have the time to write and test code for you. Here are suggestions to get you going:
Take a look at the methods in IssueLinkUtil, probably getLinkCollection, to access the links for the Task issue.
Find the Bug issue by searching the LinkCollection. Return the Bug issue summary as the result of the scripted field
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