Issue Summary
You can break a plan by linking an initiative to an epic with an epic link and also link the same epic to the initiative with the parent link.
Steps to Reproduce
- Create hierarchical level above epic (initiative)
- Link an initiative to an epic using the epic link
- Link the same epic to the same initiative using the parent link
- Open your plan and observe the blank page
Expected Results
Plan loads without issue
Actual Results
Plan is blank, and JavaScript console in the browser show:
com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 RangeError: Maximum call stack size exceeded at Array.concat (<anonymous>) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) fa @ com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 RangeError: Maximum call stack size exceeded at Array.concat (<anonymous>) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) at com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3 at Array.reduce (<anonymous>) at e (com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3) fa @ com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:3 uncaught at he RangeError: Maximum call stack size exceeded at Array.concat (<anonymous>) at http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002114 at Array.reduce (<anonymous>) at e (http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002084) at http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002121 at Array.reduce (<anonymous>) at e (http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002084) at http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002121 at Array.reduce (<anonymous>) at e (http://localhost:47134/j7134/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-ws2cy8/713004/6411e0087192541a09d88223fb51a6a0/3.13.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts/com.atlassian.jpo:jpo-wr-page-simple-plans-scripts.js:3:1002084) P @ com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:3
Workaround
Remove the epic link from the initiative.
- is caused by
-
JSWSERVER-24809 Create issue In Epic allows selection Of Initiatives as a child of the Epic
- Gathering Impact
- links to
- relates to
-
JPOS-5164 Loading...