Skip to content
Snippets Groups Projects

Clarify that the 'labels' parameter creates new labels in Issues API

Merged Steve Mokris requested to merge smokris/gitlab:issue-api-label-create into master

What does this MR do and why?

Currently, the documentation for the API request to create a new issue (POST /projects/:id/issues) says:

labels — Comma-separated label names for an issue.

It doesn't explain what happens if the label doesn't already exist. This MR adds documentation describing the current behavior.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist.

Screenshots or screen recordings

n/a

How to set up and validate locally

n/a

Merge request reports

Merged results pipeline #1240482856 passed

Merged results pipeline passed for abac6ed3

Merged by Marcin Sedlak-JakubowskiMarcin Sedlak-Jakubowski 11 months ago (Apr 4, 2024 4:38pm UTC)

Loading

Pipeline #1240491094 passed

Pipeline passed for a50addec on master

10 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • resolved all threads

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading