Linked issues
EduardoCT7 opened this issue · 2 comments
Hi Prince.
I wanted know if with Jiraone we can obtain a report that shows us all the Linked issues to all the issues of a project.
I have tried several options, but I don't get anything favorable. Do you know if with Jiraone I can get a report similar to the following?
Is there a possibility that something can be implemented in jiraone to get this report?
I hope you can help me, I will be very grateful.
I await your comments.
Best regards.
@EduardoCT7 This will be a new implementation, I'll see how I can add such reporting to the reporting module.
Hey @EduardoCT7
I just remembered this ask and wanted to mention that you can use the PROJECT.export_issues(jql=jql, extension="json", json_properties=["links"])
to get all the linked issues within a project or simply use the CSV options but limit the fields to default fields which should include the issue links. If you intend to include all the subtask issues, declare all the subtask issue types used within the project, so they can be detected. Then you can make a request like PROJECT.export_issues(jql=jql, extension="json", json_properties=["links"], sub_tasks=["Sub-task", "Sub-test-task"])
The data will be a JSON export of the project but will contain a link key within each project.
{
"links": [
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "RFBFB-607"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "RFBFB-606"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "RFBFB-519"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "TS-52"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "TJ-45"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "CTC-1"
},
{
"destinationId": "CT-607",
"name": "Blocks",
"sourceId": "CTC-2"
},
{
"destinationId": "CT-519",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6380",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6278",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CT-606",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6346",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6249",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6251",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6349",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6263",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6248",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6246",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6247",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-6245",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-164",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-165",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-163",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-162",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-161",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-159",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "CACP-147",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "AT2-76630",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "AT2-76610",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "AT2-76606",
"name": "Blocks",
"sourceId": "CT-607"
},
{
"destinationId": "AT2-76608",
"name": "Blocks",
"sourceId": "CT-607"
}
],
"projects": ["..."]
}
OR in CSV format PROJECT.export_issues(jql=jql, extension="csv", field_type="current")
. Either one should get you the linked issues list that you want.