get id of created issue link via rest api

Myktybek Tashtemirov January 8, 2018

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

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 25, 2018

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

Cedric LE BARON March 12, 2018

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

Like Студент 1 likes this

Suggest an answer

Log in or Sign up to answer