Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

REST API, issue/createmeta not returning fields

James Miller April 28, 2015

When trying to query for issue files / createmeta using curl I'm not getting any response and I'm not sure what I'm doing wrong.  I followed the JIRA REST API Example - Discovering meta-data for creating issues doc but I get nothing back.  Here's some examples I've tried (on the local server)

 

curl -D- -u myid:mypass -X GET -H "Content-Type: application/json" http://myhost.local.com:8081/rest/api/2/issue/createmeta
curl -D- -u myid:mypass -X GET -H "Content-Type: application/json" http://myhost.local.com:8081/rest/api/2/issue/createmeta?expand=projects.issuetypes.field

 

Any suggestions would be greatly appreciated. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2015

These REST methods certainly work. I it can be something with curl params. Please try putting these urls directly into browser when you are logged into JIRA.

TAGS
AUG Leaders

Atlassian Community Events