Forums

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

API: How to get fields, that are allowed for the issue?

rominf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2018

I have the issue. I want to get all allowed fields (including custom), that are allowed for it. How do I do it using API?

I've googled it and found several proposals:

  1. Get the issue. The problem is that issue is returned with all possible fields for all projects.
  2. Get the createmeta. I've tried this method, but I got the response without the field I was curious about.
  3. Get the editmeta. I've got the response with "fields: {}".

1 answer

0 votes
Matheus Fulginiti Schonarth October 16, 2018

Hi Roman,

Welcome to the community!

Can you please clarify what you meant by "allowed" fields? I want to make sure we're on the same page here. If you could share an example, it would help me to visualize what is your goal.

Cheers,

Matt

rominf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2018

On the https://jira.example.com/secure/admin/AssociateFieldToScreens!default.jspa I can assign issue fields to the project screens. If I added some issue field to the Issue Screen of certain project, I can set it while creating the issue. For example, for granting permissions for certain issues we have custom field "Access List". I can set it while creating the issue. I want to get all the issue fields I can set for a certain project using API.

Suggest an answer

Log in or Sign up to answer