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

REST API : Issuetype is missing in output of createmeta command

Loïc GRIVEAU December 10, 2013

When i use the createmeta command with expand argument to retrieve fields, issuetype is missing whereas it appears in the create issue screen.

Conversely, there is a custom field in the output of createmeta command that is not in the create issue screen.

Why ? (jira version is 5.1.6)

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Loïc GRIVEAU December 18, 2013

It seems that nobody can answer to my question. I am sad.

0 votes
Loïc GRIVEAU December 11, 2013

When i execute createmeta command like this

wr.path("api/latest/issue/createmeta")
	.queryParam("projectKeys", "PHS")
	.queryParam("issuetypeIds", "1")
	.queryParam("expand", "projects.issuetypes.fields");

The fields returning are not exactly the same that appears in the create issue screen.

When i log in JIRA with the same user on the same project and create a bug issue, the issue type field exist in the create issue screen but is not in the fields returning by the createmeta command.

In the other hand, i have a custom field in the fields returning by createmeta command that does not exist un the create issue screen.

Why ?

0 votes
Aleksander Mierzwicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2013

Could you post the request? It's a bit hard to guess without details about request, what issue type is missing and what field is an extra field.

First that comes to my mind:

  • you've logged in as user that cannot use some issue type
  • you're looking at wrong project
  • there is a bug in JIRA
  • you have a custom plugin in JIRA that is broken
  • your REST API request is incorrect

Please provide as much details as you can - for now it's a 'works for me' ;)

TAGS
AUG Leaders

Atlassian Community Events