Hello,
I create a API call which should fest all issues for my project. But I get a problem with fetching the type of the issue. I try “type” and “issueType” by the fields property but always I don’t get the type.
var bodyData = {
jql: jql,
maxResults: 100,
startAt: 0,
fields: ["type", 'summary', 'description', 'priority']
}
const bodyString = JSON.stringify(bodyData)
console.log('bodyString', bodyString)
const response = await api.asApp().requestJira(route`/rest/api/3/search`, {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json'
},
body: bodyString
})
Thank you