how do i get the editmeta based on project key and issuetype name (NOT issue-id)

sarah kreisler April 25, 2018

It is possible to get the createmeta based on project and issuetype,  

http://kelpie9:8081/rest/api/2/issue/createmeta?projectKeys=QA&issuetypeNames=Bug&expand=projects.issuetypes.fields

 

Is there a parallel API call to get the editmeta.

1 answer

1 vote
Arthur Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2018

Hi Sarah, 

Editmeta requires an issue key/ID because it needs to know whether the user has the permission to view and edit that issue. This is a reflection of what you can do in the GUI:
* For Create, you don't need to know issue key/ID as you're going to create one
* For Edit, you however need to browse the issue before you can click the Edit button

This has also been discussed as a part of the following link:

* JRASERVER-66202: Document why REST editmeta requires Issue Key/ID

Hope this info helps.

Regards,
Arthur Gonçalves | Atlassian Support

Suggest an answer

Log in or Sign up to answer