Skip to content

Allow resetting issue labels

Alexandru Croitor requested to merge set_issue_labels into master

What does this MR do?

Allows for setting labels on an issue in a single param. Sometimes we just want to reset labels on an issue to a specific list and currently you need to set the list of labels into add_label_ids but also make sure to remove any extra labels from the issue through remove_label_ids. Being able to just specify which labels should go on the issue through issue_ids makes it much easier for some FE use cases and we already support that in the issue update service.

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Alexandru Croitor

Merge request reports

Loading