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

🐛 Don't return issueTypes with the subtask flag set #440

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

mansam
Copy link
Collaborator

@mansam mansam commented Jul 12, 2023

New issues that belong to issue types with the subtask flag set (including the "Sub-task" built in issue type) are required to have a parent issue set. We don't support setting the parent issue, so exporting migration waves as issues of such types will fail. To fix this, avoid returning issue types with the subtask flag set from the /trackers/:id/projects/:pid/issuetypes endpoint.

Fixes https://issues.redhat.com/browse/MTA-870 by removing the option to export as a Sub-task.

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
@mansam mansam requested a review from dymurray July 12, 2023 20:00
Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mansam mansam merged commit f22a7a4 into konveyor:main Jul 14, 2023
mansam added a commit to mansam/tackle2-hub that referenced this pull request Jul 14, 2023
New issues that belong to issue types with the `subtask` flag set
(including the "Sub-task" built in issue type) are required to have a
parent issue set. We don't support setting the parent issue, so
exporting migration waves as issues of such types will fail. To fix
this, avoid returning issue types with the `subtask` flag set from the
`/trackers/:id/projects/:pid/issuetypes` endpoint.

Fixes https://issues.redhat.com/browse/MTA-870 by removing the option to
export as a Sub-task.

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
mansam added a commit that referenced this pull request Jul 17, 2023
Backport of #440

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants