Forums

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

REST API - How to get fields from Issue Type?

Ian Carlos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2023

Hi everyone, I hope you're fine

 

I'm trying to perform some automations over my Jira instance using the REST API, I have perform another calls and all worked fine

The thing is, I haven't found how to get the fields related to a specific jira issue type?

Could you help me out? Please

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2023

Hi @Ian Carlos 

Would you please clarify what problem you are trying to solve?  That may help the community to offer suggestions. 

You describe using automation and the REST API functions.  To learn the fields supported by the REST API for automation rules, please see this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

If you are instead calling the REST API functions another way, please look at the documentation for the specific function to learn what is needed/supported: https://developer.atlassian.com/cloud/jira/software/rest/intro/#introduction

Kind regards,
Bill

Ian Carlos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2023

Hi @Bill Sheboy sorry for not being clear

I'm performing API calls using PHP, not with the automation rules

Is required for my Jira to add a external web layer that will help with issue creation at Jira

I would like to know if there is an API REST call that could help me getting the fields related to a issue type (not request type, I've already got them) based on the issue type id

Please

 

Thanks in advance

P.D.: I've seen the documentation before but didn't found how to perform this...

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 13, 2023

Thanks for clarifying, Ian.

Context is helpful for what you describe, and so which functions (e.g., create, read, update, etc.) are you trying to perform for the issue type involved?  Looking at the specific REST API function documentation should indicate the supported fields.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events