Add status to issue create mutation
What does this MR do and why?
We need to add the argument to the legacy issue create mutation to support creating issues under board lists
References
Related to #550377 (closed)
How to set up and validate locally
- Enable the
work_item_status_feature_flagfeature flag. - Optionally setup custom statuses: https://gitlab.com/gitlab-org/gitlab/-/snippets/4865066
Sample mutation
mutation {
createIssue(input: {
projectPath: "flightjs/flight",
title: "My issue title",
status: "gid://gitlab/WorkItems::Statuses::Custom::Status/2"
}) {
issue {
id
status {
id
name
}
}
}
}
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu