...
Code Block |
---|
$ curl -s -u user -XPOST -H "Content-Type: application/json" --data '{"issueKey":\ "DT-45","changeId":"100","changeType":"perforce","changeDate":"2016-05-01 00:00:00",\ "changeStatus":"submitted","changeAuthor":"john","changeLink":"http://perforceweb/c=100",\ "changeMessage":"Fixed bug for software ToolsX. Ref: DT-51","changeFiles":[{"fileName":\ "/depot/src/AppEntityManager.java","fileAction":"Modified","fileVersion":"23"}],"changeTag":\ "R1.0,R2.0","changeTagLink":"#"}' http://localhost:8080/rest/scmactivity/1.0/changeset/activity Enter host password for user 'user': {"result":1,"message":"[Info] DT-51 > 100 activity row [1] is added."} $ |
...