Forums

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

Difference issue creation fields in metadata and screen

Alexey Kubasov February 20, 2019

Hello.

I try to create an issue throught the jira's API v2 and need in correct issue fields scheme for create one.

I found that available (btw where is required?) issue creation fileds list are in json response of this request:

https://my_site/rest/api/2/screens/project's_issue_creation_screen_id/availableFields

In docs i found that i may use the getCreateIssueMeta request to get same results as i though. So i had done another json response with 

https://my_site/rest/api/2/issue/createmeta?expand=projects.issuetypes.fields&projectIds=0&issuetypeIds=0

And now i have got the two very deffirent schemes.

The first one have no the fields that i see on the issue creating screen with UI as a user and the second one do have.

So i tried to crete an issue with the second's request scheme and got the response with errors like ''Field 'customfield_10008' cannot be set. It is not on the appropriate screen, or unknown'' about most of fields.

Wich scheme request is correct?

And if it is the first why i do not see the user's visible fields in it?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events