gitlab
gitlab copied to clipboard
How to create Incident?
Hi. How to create Incident?
I think something like this:
Gitlab.create_issue(5, 'New issue', { description: 'This is a new issue', assignee_id: 42, type: Incedent }) ?
I can't find it in docs.
Hey @ytiruces try:
Gitlab.create_issue(5, 'New issue', { description: 'This is a new issue', assignee_id: 42, issue_type: 'incident' })
See: https://docs.gitlab.com/ee/api/issues.html#new-issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.