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 in (story, bug, spike, "24M Project", Epic) AND project in (10003, CLIQ, 10900, 11207) OR "Epic Link" = MKS-22287 AND ISSUETYPE in (story, bug, spike) AND project = 10603