Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ curl -s -u "user:passwd" -XGET \
http://localhost:8080/rest/scmactivity/1.0/changeset/activity/list/?issueKey=DT-45



Status
colourBlue
titleGet first or last change-set by issue key
GET http://localhost:8080/rest/scmactivity/1.0/changeset/activity/{issueKey}/first

GET http://localhost:8080/rest/scmactivity/1.0/changeset/activity/{issueKey}/last

Path Parameters:

  • issueKey (String) - JIRA Issue Key e.g. DT-45

...

Code Block
$ curl -s -u "user:passwd" -XGET \
http://localhost:8080/rest/scmactivity/1.0/changeset/activity/DT-45/last

Status
colourBlue
titleGet change-set activity by change type, issue key, and change id

...

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."}
$

...