get id of created issue link via rest api

I am using http POST method to create issue  link (path =  /rest/api/2/issueLink )
jira creates issue links but it does not give me created issue link instead I have only  response status

how to get ID of newly create issue link?

Thanks

 

1 answer

This widget could not be displayed.

Hi Myktybek,

Take a look at the post titled JIRA REST API - retrieving issue links.  There are a couple suggestions that you can try.  Take a look at Konrad Garus' answers to see how this could be done.

One in particular may work:

Try the /issue/{key}/remotelink endpoint, like https://ecosystem.atlassian.net/rest/api/2/issue/ACJIRA-884/remotelink.

Hopefully this helps.


Cheers,

Branden

I have the same issue.
The only way to get the id of the newly created issue link is a new request ?
https://ecosystem.atlassian.net/rest/api/2/issue/ACJIRA-884?fields=issuelinks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

300 views 1 4
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you