Developer MJ

[Atlassian JIRA] REST API 본문

카테고리 없음

[Atlassian JIRA] REST API

MIN JOON 2017. 7. 26. 11:01

유용한 JIRA REST API


이슈 정보 ( JIRA Issue Info )

GET : JIRA URL + /rest/api/2/issue/ISSUEKEY ( or IssueID )


이슈 트랜지션 정보 ( JIRA Issue Transitions )

GET : JIRA URL + /rest/api/2/issue/ISSUEKEY ( or IssueID )/transitions


이슈 Status 변경 ( Change JIRA Issue Status Using transition )

POST : JIRA URL + /rest/api/2/issue/ISSUEKEY ( or IssueID )/transitions?expand=transitions.fields

BODY  : 

{

    "fields": {

   

    },

"transition":{

"id":"11" ( Transition Number where you want to go )

}

}


이슈 Comment 틍록 ( Add Comment to JIRA Issue )

POST : JIRA URL + /rest/api/2/issue/ISSUEKEY ( or IssueID )/comment

BODY  : 

{

    "body": "Test"

}



이슈 연관 SVN Commit Revision 확인 ( Confirm SVN Commit Revisions of JIRA Issue )

- You need to configure the connection of SVN with JIRA by using SVN Repository ADD-ON, Before Use this.

GET : JIRA URL + /rest/jira.svn/1.0/commits




참조 :

https://docs.atlassian.com/jira-software/REST/cloud/

https://docs.atlassian.com/jira/REST/cloud/