Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create Incident? #691

Open
ytiruces opened this issue Jul 2, 2024 · 2 comments
Open

How to create Incident? #691

ytiruces opened this issue Jul 2, 2024 · 2 comments
Labels
stale Inactive

Comments

@ytiruces
Copy link

ytiruces commented Jul 2, 2024

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.

@ltickett
Copy link
Contributor

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

Copy link

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.

@github-actions github-actions bot added the stale Inactive label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive
Projects
None yet
Development

No branches or pull requests

2 participants