Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot remove Parent Link inconsistent with hierarchy

Jeff Davis
Contributor
April 27, 2023

Hello, Jira power users! I have an issue at the top of my hierarchy that a teammate cloned, but in doing so, somehow made it a child of that issue. So I have two issues, both at the top of the hierarchy. Parent Link for the cloned issue shows the other issue, with an error that reads "This link is inconsistent with your portfolio hierarchy." The problem I'm having is I cannot remove this incorrect Parent Link. Not from the Edit function in the issue view, as it doesn't show there, and not from bulk change.

From a permissions perspective, I'm a project lead, but the federal government people who own this Jira environment still have more perms than I do. They are not quick to respond to virtually anything. That being the case, is there something I can do to remove this parent link? Or should I just blow away this issue and create a new one?

2 answers

1 accepted

0 votes
Answer accepted
Jeff Davis
Contributor
April 27, 2023

I fixed it myself by converting it to an epic, removing the parent link, and changing it back to an initiative. I can't believe I didn't think of that sooner.

0 votes
Tim Eddelbüttel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2024

That's so stupid. Even with the Java APIs you're not able to remove the value...

customField.removeValueFromIssueObject(issue)
customField.updateValue(null, issue, new ModifiedValue(customFieldValue, null), new DefaultIssueChangeHolder())
issue.setCustomFieldValue(customField, null)
issueManager.updateIssue(currentUser, issue, EventDispatchOption.DO_NOT_DISPATCH,false)

All result in...

WARN [parent.ParentCustomFieldHelper]: Editability check for setting Portfolio parent link failed

To reproduce the issue... Move an issue with a parent link into an Initiative.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events