Hi,
I am using jira-connector to POST a create issue request to JIRA API on a JIRA SD project.
I am able to create the issue but cannot set the Reporter field in the createIssue request. I have tried the following:
{
fields: {
project: {
key: 'HD'
},
summary: 'CHAT 17809746070',
description: '<p>hi</p>',
issuetype: {
name: 'Inbound'
}
},
reporter: {
name: 'Anonymous User'
}
}
I have also tried email and nothing works. How do I set the Reporter on issue creation?
The authenticated user that is trying to POST has Admin and SD user privileges and the Reporter field is visible on ticket creation.
Also, if the Reporter I set in the POST does not exist, will JIRA SD create it a customer (like the native JIRA behaviour does)?
Thanks
UPDATE:
Was able to fix this calling Jira Service Desk API directly.
The body looks like this:
{
serviceDeskId: "MY_SD_ID",
requestTypeId: "MY_REQUEST_ID",
requestFieldValues: {
summary: "CHAT 17809746070" },
raiseOnBehalfOf: "Anonymous User"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.