Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Can we link multiple issues to a single issue?


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)

Body :

    "inwardIssue" : {
        "id" : "10617"
    "outwardIssue" : {
        "id" :"10208"
    "type" : {
        "name" : "Review Cycle"
I have to iterate for every id instead, don't we have a single api call which accepts multiple issues at a time and links it to a single issue.

2 answers

0 votes
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 02, 2023

Hi Reeta,

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.



0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 02, 2023

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: 

Screenshot 2023-11-02 at 3.17.45 PM.png

Try exploring this out.

Have a great day!

Suggest an answer

Log in or Sign up to answer