I'm trying to add subtasks underneath a task in my Portfolio for Jira plan. Adding them to the plan is working as designed, but as soon as I want to committ them to Jira through the Review button they will get created as new Tasks.
See below screenshot for the result. As you can see in the review changes screen the subtask issuetype is listed, but while committing them to Jira the pop-up selects the Task issuetype without the ability to change it to a subtask, although it is part of the issuetype scheme.
Any idea what could be the issue? The Portfolio Hierarchy is configured correctly.
Solved! Go to Solution.
Thanks for your help!
The issue was indeed caused by a required field (priority). After making it optional the issue was not caused anymore in Portfolio.
An interesting thing though when I faced the issue was that Portfolio gave no error but created a Task (instead of a Sub-Task) underneath the Task in the Portfolio Hierarchy. In Jira you couldn't see the same situation. So I would have expected Portfolio to give me somekind of error. Maybe something to look into?
Regards,
Robin
@Robin Klein glad we got to the root of the cause!
I'm very interested in working out why this was displaying a task issue type instead of sub-task. I will investigate further and try to find a way to have a meaningful error displayed.
Regards,
Emma
Hi Emma,
I have a very similar problem when creating sub-task issues. In my case in addition to Robins screenshot the mandatory attribute assignee is shown in the pop-up with "default assignee" selected. When trying to commit, the log shows:
2020-12-15 11:23:11,442 https-jsse-nio-443-exec-16 WARN username 683x480915x1 1n79j98 172.26.1.29 /rest/jpo/1.0/issues/commit [c.a.r.j.c.scenario.issue.IssueScenarioEntityCommitExceptionHandler] Exception when trying to commit issue: Required Fields not set. [assignee].
This is correct, as I disallowed unassigned issues on my system. My first idea to solve it was adding the attribute "assignee" as a column in the plan in order to assign the sub-task before committing. Even if set to a team member committing still fails, asking for an assignee. Only if unassigned issues are allowed in the system configuration committing works as expected, hence the assignee is not a required field anymore.
But I consider it a bug. My expectation would be either the issue is assigned to the default assignee or the sub-task is assigned to the person set in the plan bevore committing. Neither works. Any ideas?
Thanks allot.
Manuel