Forums

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

Retrieve "Epic-Story Link" id

Vera Geraskina
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2021

Hello,
Currently we use webhook to retrieve information about issuelinks changes. And there are some events with issueLinkType='Epic-Story Link' and id='some_long_number_which_is_used_as_link_id'


The information is used as real-time data. But I cannot find the proper REST api to gather such link_id.
All that I can at this moment: 
1) retrieve issue with custom_field "Epic Link" (there is only Epic Code, even not issue id, this type of link is not shown among "issuelinks" property) (POST /rest/api/2/search)

2) retrieve information about epic by retrieved code

3) create artificial link in db with generated issue_link_id

There is another way:
1) retrieve epic with children:
(GET /rest/agile/1.0/epic/epic_code/issue)
2) create artificial links in db with generated issue_link_id

Is there another way to get issue_link_id for 'Epic-Story Link'? Maybe somebody knows some info? 


We use: Jira Server 
v8.13.0

0 answers

Suggest an answer

Log in or Sign up to answer