Example for programitically adding an issue to onedev.

This commit is contained in:
jimmy committed 2022-12-04 16:55:51 -05:00
1 parent a993e8c9b1
commit 386fcdea47
2 files changed
+14

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
"projectId" : 9 ,
"title" : "Hi From Curl" ,
"description" : "This was posted from curl." ,
"confidential" : false ,
"milestoneIds" : [ ] ,
"fields" : {
"Type" : "Build Failure"
}
}
+4
View File
@@ -0,0 +1,4 @@
curl -u tekton:$TEKTON_API_KEY \
-d@issue-body.json \
-H "Content-Type: application/json" \
https://git.jpace121.net/~api/issues