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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

728 views 6 13
Read article

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