How to identify circular linked issues from Advanced Roadmaps plan via Har file

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Currently, if there are any circular linked issues included in a Portfolio plan, the plan will not be able to load successfully. Refer to JPOSERVER-2680 - Unable to load plan view in Portfolio due to circular linked issues for more details. 

This article is to help you to identify if there are any circular linked issues in your Portfolio plan. 

Diagnosis

Environment

  • This issue happens to all different types of browsers when trying to load the same plan in Portfolio

Diagnostic Steps

  • Collect a har file while loading a plan in Advanced Roadmaps. 

  • Look for all the backlog by looking for "POST backlog" in the har file. 
  • Click on the "response" tab of "POST backlog".
  • Save all the backlogs into a new text file. 
  • All the backlog output is in JSON format. Find an online converter to convert the format to JSON format and save it to a file content.json. 
  • Install node in your mac by running the command: brew install node
  • Use the script check-circular-parent.js to identify the circular linked issues.
  • Run the following command to get the all the circular linked issues from this plan. 

    node check-circular-parent.js content.json
  • Example output of data having circular linked issues:

    $ node check-circular-parent.js backlog-test.json
    Found 5 issues with parents
    vvvvvvvv
    { id: '10101', issueKey: 25, summary: 'Test epic', parent: '10100' }
    {
      id: '10100',
      issueKey: 24,
      summary: 'Test initiative',
      parent: '10101'
    }
    ^^^^^^^^
  • Example output of data not having circular linked issues:

    $ node check-circular-parent.js backlog.json
    Found 5285 issues with parents

Last modified on Jan 31, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.