Use comma-separated IDs for skipping groups
What does this MR do and why?
Previously, skip_groups passed IDs using array notation which created long URLs
(e.g., skip_groups%5B%5D=1&skip_groups%5B%5D=2). With 50+ groups in the GitLab for
Jira Cloud app, this would exceed NGINX's header buffer size causing 502 errors.
Changed to use comma-separated format (skip_groups=1%2C2) to reduce URL length.
This maintains API compatibility via ::API::Validations::Types::CommaSeparatedToIntegerArray and increases
the limit to ~800 groups as a temporary solution.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Set up Gitpod and ensure it is publicly accessible.
- Install the GitLab for Jira Cloud app manually into a Jira Cloud account.
-
Configure the GitLab for Jira Cloud app
- Link 3 groups and refresh the page
- When you try and link more groups, you will notice that the API call to
/api/v4/groupsis much shorter asskip_groupsis passing a comma-separated string rather thanskip_groups[].

