Forums

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

Retrieve fields using /rest/api/2/issue/createmeta that aren't on the screen

Jivago August 30, 2018

Hi,

How can I retrieve all the fields related to a project/issuetype that aren't on the screen.

Currently I am using this method "/rest/api/2/issue/createmeta" but it only retrieves the fields that are on the screen

I have this requirement but I am stuck on it.

 

Thank you in advance!

 

Best Regards,

Jivago Pecharki

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 4, 2018

Hello,

 

Maybe you can use "editmeta"

  Hope it will help

Jivago September 4, 2018

Hi Mohamed,

 

Thank you for your help! The editmeta has the same limitation as the createmeta, it only lists the fields that are in the screen.

 

"The fields in the editmeta correspond to the fields in the edit screen for the issue. Fields not in the screen will not be in the editemeta."

 

I'd like to list the fields that aren't inthe screen as well, do you have some suggestion?

Best Regards,
Jivago Pecharki

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 2018

Hello Jivago,

 

You can try this: rest/api/2/issue/{issueIdOrKey}

But you have to create an issue first, i think is not possible to get all field by issuetype or project.

 You can look at this page for more informations or examples: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/?_ga=2.61178217.456026072.1536145241-408726963.1529654643#api/2/issue-getIssue

 Capture.PNG

Sorry my english is not my native langage. Let me know if it's ok for you.

 

Hope it will help

 

Kind regard

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events