Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira API: Issue create post to respond with Issue status information

jeremiah kiplagat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2019

When creating an Issue in Jira via REST API, the response is as such: 


{
"id":"10595",
"key":"XXX-591",
"self":"https://xxx.atlassian.net/rest/api/2/issue/10595"
}

 Is it possible to get Jira to respond with more info? Something like:

{
"id":"10595",
"key":"XXX-591",
"self":"https://xxx.atlassian.net/rest/api/2/issue/10595",
"status": "Open"
}

 Appreciate your help :-)

1 answer

1 accepted

0 votes
Answer accepted
Matthias Gaiser _K15t_
Community Champion
February 15, 2019

Hi @jeremiah kiplagat,

this is unfortunately not possible, but you can call get issue afterwards and define in the fields parameter all fields you want to have returned.

Cheers,
Matthias.

jeremiah kiplagat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2019

Hi @Matthias Gaiser _K15t_ ,

Thanks for the quick response.
That's actually what I ended up doing, just wanted to see if that could be improved. Anyway, thanks for the answer.

 

Best regards

Suggest an answer

Log in or Sign up to answer