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

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

1 vote
Alexey Matveev Community Champion Oct 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.

Thank you Matveev! Very helpful! 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 6 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

256 views 4 4
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