Jira REST API
25 Nov 2016Jira REST API
Overview
- The endpoints for jira api have the following format
<host>/rest/<api-name>/<api-number>/
. Theapi-name
isapi
andapi-number
is2
. A sample rest call to fetch a issue usingBasic Authentication
curl -H "Authorization: Basic <Encoded username-password>" -H "Content-Type: application/json" https://<hostname>/rest/api/2/issue/SAAS-324`
Authentication
- A client can authenticate with JIRA REST API using three ways.
- Basic Authentication
- OAuth
- Cookies