The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to get all fields set for an Issue Type

Joey Ly
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!
December 9, 2024

I am trying to integrate Jira with Tray.io into my application.

I have an Issue Type with the fields Summary, Parent, and Reporter set and I see them within Jira.

However, on API call to GET /rest/api/2/issue/createmeta/:projectId/issuetype/:issueTypeId, they are not returned. On issue creation, Summary be set even though it's not defined in the aforementioned API response.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jehan Bhathena
Community Champion
January 5, 2025

Hi @Joey Ly ,

In any jira ticket "Summary" is a mandatory field, so you'll have to pass that parameter to the Create Issue API.

I haven't used the tray.io integration, but do you need to configure an API to set it up? Can you elaborate on what error you get during the configuration?

Joey Ly
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!
January 6, 2025

There are no explicit errors. tray.io is simply our middleman to hit the Jira API and is restricted to Jira's V2 API.

 

I understand that the Create Issue API requires Summary, but I expect the GET for the Issue fields (GET /rest/api/2/issue/createmeta/:projectId/issuetype/:issueTypeId) to return the the mandatory fields in its response. Our main concern is the Reporter field as it seems we cannot set it in the Create Issue API if it's not returned in Issue fields API as well. We just happen to see this phenomenon with Summary and Parent.


DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events