Add missing filters for: Cadence, Iteration
What does this MR do and why?
This MR adds iteration filtering capabilities to the Work Items GraphQL API, bringing it to feature parity with the Issues API. It allows users to filter work items by iterations, iteration wildcards, and iteration cadences.
Changes
-
GraphQL API Updates:
- Added
iteration_idsargument to filter work items by specific iterations (accepts both raw IDs and Global IDs) - Added
iteration_wildcard_idargument to filter by iteration wildcards (CURRENT,ANY,NONE) - Added
iteration_cadence_idsargument to filter work items by iteration cadences - Added
iteration_idsto the negated filter input type for excluding specific iterations - Implemented mutual exclusivity validation between
iteration_idsanditeration_wildcard_id
- Added
-
Implementation Details:
- Used plural naming convention for array fields (
iteration_ids,iteration_cadence_ids) for better API consistency - Added parameter transformation in
prepare_finder_paramsto convert plural GraphQL argument names to singular finder parameter names as supported by the finder
- Used plural naming convention for array fields (
References
Relates to #546400 (closed), #510269 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
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 Vedant Jain