Retrieve Ticket Info by Jira Key

Use this endpoint to retrieve the node-id, jira-id, issue type, display URL, and the status of the node(question) created, into a JIRA ticket.

/services/v2/jira/key/[key]/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 key field representation is the Jira project key and number representation separated by a dash “-”.
A GET Retrieve Ticket Info by Jira Key request for a JIRA ticket's information 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/key/DOC-62/ticket.json"

Expected Response: HTTP 200 - OK

In the response below:
The nodeId: 872, is the question ID.
The jiraId: 69314 is the issue number created when the question got submitted to JIRA as a ticket.

{
    "nodeId": "872",
    "jiraId": "69314",
    "key": "DOC-62",
    "issueType": "Bug",
    "displayUrl": "https://yourcompanynamehere.atlassian.net/browse/DOC-62",
    "status": "SUBMITTED"
}

To see the question in the Community User Interface, click here

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!