I have a automation test suite in gitlab, say 10 test cases, if any of the case fails, the gitlab issue has to be created automatically. Do we have any plugin or any for this.
Asked
Active
Viewed 186 times
1 Answers
1
the api provides a possible solution:
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/4/issues?title=Issues%20with%20auth&labels=bug
in case the above description isn't sufficient, you could push this by creating a issue in their tracker. Here's a link to the related issues https://gitlab.com/gitlab-org/gitlab-ce/issues/?scope=all&utf8=%E2%9C%93&state=all&search=create+issue

til
- 832
- 11
- 27
-
somewhat related question with possible python example: https://stackoverflow.com/questions/57012997/gitlab-api-create-issue-quietly – til Aug 28 '19 at 13:22