get https://apidocs.cloud.answerhub.com/services/v2////.json
Use this endpoint to retrieve the nodeId, key, issueType, displayUrl and status by using the JIRA ticket/issue ID (they mean the same thing).
/services/v2/jira/issue/[issue-id]/ticket.json
Permissions & Notes:
Make sure you have read the JIRA Integration Documentation in the Get Started, Integrations and Plugins Section before trying out the endpoint. There are specific steps and permissions needed to be able to see results from the endpoints in your AnswerHub instance.
Sample Request
The issueId is the JIRA identification number (generated by atlassian).
A GET Retrieve Jira Issue by Id request for a JIRA issue by Id (69314) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:
curl
-u answerhub:test123
-H "Accept: application/json"
-H "Content-type: application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/jira/issue/69314/ticket.json"
Expected Response: HTTP 200 - OK
{
"nodeId": "872",
"jiraId": "69314",
"key": "DOC-62",
"issueType": "Bug",
"displayUrl": "https://yourcompanynamehere.atlassian.net/browse/DOC-62",
"status": "SUBMITTED"
}