You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Link multiple issues to a single issue using api call from custom plugin.
iterating list of ids and passing one id at a time for linking.
http://localhost:8080/rest/api/2/issueLink - api (POST)
I can confirm that if you use ScriptRunner for Jira Cloud you could use an Escalation service to help achieve this requirement.
The escalation service would find the issues to link and then run the script to link to that issue on each issue returned in the query.
I can confirm the blog here explains in more detail how an Escalation Service works.
We also have an example that shows how to link to an issue here that can help achieve your requirement.
I hope this information helps.
Hello @Reeta Kumari ,
Welcome to the community!
Unfortunately, it is a limitation of this rest API call.
We have an FR :
You can create a script to perform the iterative action using this API call that serves your purpose or can create an automation rule having in Branch query JQL query having lookup issue as per your use and based on that add a Send web request / or perform link issue action.
I have created a basic one for my test instance:
Try exploring this out.
Have a great day!