HI,
Been trying to create an issue with reporter specified using forge but getting the following error
{
errorMessages: [],
errors: {
reporter: "Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown."
}
}
I am able to create an issue without reporter. I do see reporter field on the create issue screen and I am using the following payload
{
"fields": {
"summary": "this is it",
"issuetype": {
"id": "10004"
},
"project": {
"id": "10000"
},
"reporter": {
"accountId": "557058:f206d58a-04f9-40b5-9b68-c09130e5d0e8"
},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "As a User, I want to...",
"type": "text"
}
]
}
]
}
}
}
using forge as
const response = await api.asApp().requestJira("/rest/api/3/issue", {
method: "POST",
headers: {
Accept: "application/json",
"Content-Type": "application/json",
},
body: JSON.stringify(issue),
})