...
Code Block |
---|
$ curl -s -u "user:passwd" -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 X DT-45","changeFiles":[{"fileName":\ "/depot/src/AppEntityManager.java","fileAction":"Modified","fileVersion":"23"}]}' \ http://localhost:8080/rest/scmactivity/1.0/changeset/activity {"result":1,"message":"[Info] DT-45 > 100 activity row [1] is added."} $ |
...