The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get linked issues and Update

AI
April 16, 2024

I am trying to get all Linked issues In JSM and need to update specific  text custom filed In Issue screen for specific Linked issue,Through Postman.

API Get Call : https://test-sandbox.atlassian.net/rest/api/2/issue/issue_key?fields=issue link

How to get Bulk specific Linked issues and update only those issues.

Do we have any JQL Queary and JSON

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Michel Neeser
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 16, 2024

Hi @AI

Issue links are returned by the "Get issue" endpoint described here. In the response you get from this endpoint, you will find the JSON path "fields > issuelinks" which provides you with all the issues an issue is linked to.

Hope this helps!

AI
April 16, 2024

 

Screenshot 2024-04-16.pngI tried what you advised and got the error below.

Michel Neeser
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 17, 2024

@AI In order to get the issue links of an issue, you need to use the following endpoint instead of the one you tried (the one in your screenshot does not exist):

/rest/api/3/issue/{issueIdOrKey}

Please also refer to the documentation.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events