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: 

the JIRA Java API to be used to link Jira Epic and Jira issue

Xuefeng Liu
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 26, 2017

Hi,

I'm trying to find the Jira Java API to link Jira Epics to Jira issues, but I can't find it. Shall you give me an hand?

 

Thanks,

X.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Alexey Matveev
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.
October 26, 2017

Hello,

You can find an answer to your question in the following article:

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-set-an-epic-link-in-a-script/qaq-p/506138

The idea is:

To Set epic link  you have to use the same api as to set any other custom field value to an issue.  First you get reference to the Epic link field.  Secondly you set it using MutableIssue or IssueService like in the example above.

Xuefeng Liu
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 27, 2017

Thank you Matveev! Very helpful! 

TAGS
AUG Leaders

Atlassian Community Events