GET issue links for epic

I am using REST service to GET data from the JIRA API.

Everything is going fine execpt for one thing, and that is that i can't get the issue links from the Epic's, i have the following structure in JIRA:

Project(type = 24M Project) –> Epic(type = Epic) –> issues (type= story,bug,spike etc.)

The project can contain multiple epics and the epic can contain multiple issues.

The problem now is i CAN relate the issues to the Epic through the Epic Link, but i can't find the Issue Link to relate the Epic to the Project. This happens when i use a filter for the JQL query.

When i lookop just one single Epic in the REST API i do get the information that is needed, i then get the outwardIssue which contains the project-id and summary that i need...

So the question is: how can i get the issue links for the Epic without having to look them up separately?


To make the example clearer i have a part of the JSON code when i call a REST API with only 1 bug:


"issuelinks": [{
				"id": "139648",
				"self": "https://[companyname]/rest/api/2/issueLink/139648",
				"type": {
					"id": "10003",
					"name": "Relates",
					"inward": "relates to",
					"outward": "relates to",
					"self": "https://[companyname]/rest/api/2/issueLinkType/10003"
				"outwardIssue": {
					"id": "183899",
					"key": "CLIQ-485",
					"self": "https://[companyname]/rest/api/2/issue/183899",
					"fields": {
						"summary": "P33802",

And this is just what i am looking for in the complete REST API call that i make with this JQL filter: https://[companyname]/rest/api/2/search?jql=issuetype%20in%20(story,%20bug,%20spike,%20%2224M%20Project%22,%20Epic)%20AND%20project%20in%20(10003,%20CLIQ,%2010900,%2011207)%20OR%20%22Epic%20Link%22%20=%20MKS-22287%20AND%20ISSUETYPE%20in%20(story,%20bug,%20spike)%20AND%20project%20=%2010603

1 answer

1 accepted

This widget could not be displayed.

Does not need answering anymore.

I found out that the API returns only the first 1000 issues due to a limitation in the internal server JIRA settings.

Also i had to change my JSONPath query to get the information, the only problem that i still have is that because it is in JSON and arrays I get for example the KEY like this: 


Anyone who has a solution for this? I need it to be without the brackets and quotes for joining tables in my DB.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

211 views 1 3
Join discussion

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