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.
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.