Add `workItem.archived` field to GraphQL API
What does this MR do and why?
Add workItem.archived field to GraphQL API
New field gets its return value from the parent project. For work items that belong directly to a group, this field will always return false
How to set up and validate locally
- Run the following query on graphiql
{ workItem(id: "gid://gitlab/WorkItem/<global_id_of_issue_or_work_item>") { id archived } }
- Archived should return true for work items that belong to archived projects. It will return false for work items that belong to projects that are not archived or for any work item that belongs directly to a group. Details on how to create group level work items in !132303 (merged)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #425500 (closed)
Edited by Mario Celi