Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linked issues #91

Open
EduardoCT7 opened this issue Aug 24, 2022 · 2 comments
Open

Linked issues #91

EduardoCT7 opened this issue Aug 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@EduardoCT7
Copy link

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.

image

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?

image

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.

@princenyeche princenyeche self-assigned this Aug 25, 2022
@princenyeche princenyeche added the enhancement New feature or request label Aug 25, 2022
@princenyeche
Copy link
Owner

@EduardoCT7 This will be a new implementation, I'll see how I can add such reporting to the reporting module.

@princenyeche
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants