Clone wiki


For information more information regarding JIRA REST API please reffer to Atlassian documentation

UseTFS API supports both JSON and XML formats based on HTTP Accept header value

Source control information

http://host:port/context/rest/usetfs/latest/sc/{issueKey} [GET]

Example: http://jira/rest/usetfs/latest/sc/TST-1

Returns full representation of TFS source control information related with given issue key.

<?xml version="1.0" encoding="UTF-8"?>
   <changeset textDate="Sun Apr 21 20:33:45 CEST 2013" indexedChangeCount="1" id="7" comment="TST-1 modified file contents" changeCount="1" author="DOMAIN\user">
      <change path="$/Testing/TestFolder/README.html1" changeTypes="Edit" />
   <changeset textDate="Fri Apr 19 23:20:13 CEST 2013" indexedChangeCount="2" id="6" comment="TST-1 12321432rfdwedfwe" changeCount="2" author="DOMAIN\user">
      <change path="$/Testing/TestFolder/README.html" changeTypes="Delete" />
      <change path="$/Testing/TestFolder/README.html1" changeTypes="Rename" />

Besides standard TFS information two additional attributes are provided

  • changeCount - provides total count of all changes in given changeset
  • indexedChangeCount - provides count of changes in given changeset that were indexed by UseTFS. This may be less or equal to changeCount depending on Max scanned files setting under Repository configuration in JIRA. Only indexed changes are presented under /sourceControlEntries/changeset/change