Hi All,
Background:
On my company's platform, there is a built-in integration with JIRA.
It should open a JIRA ticket whenever an alert is triggered on our product.
Issue:
I configured the integration using my own email, an API token, configured the JIRA host and project key.
I simulated an alert- and a ticket was created.
Then i created a new email user- a generic one for the sake of the alert report.
The user was given project admin role, admin org permission and in general the same permissions as my own user.
I created a new API token and configured similar parameters - however when i simulated an alert, the following error appeared:
Client request(POST https://<host>.atlassian.net/rest/api/2/issue\) invalid: 400 Bad Request. Text: "{"errorMessages":[],"errors":{"reporter":"Specify a valid value for reporter","assignee":"Specify a valid value for assignee
Again,
Same permissions were granted, same configuration was performed.
In addition,
I tried to open a ticket using curl command with the exact same permissions and it worked!
curl -D- -u <USER:API TOKEN> -X POST -H "Content-Type: application/json" \
--data '{
"fields": {
"project": {
"key": "<PROJECT KEY>"
},
"summary": "Issue Summary",
"description": "Issue Description",
"issuetype": {
"name": "Task"
}
}
}' "https://<HOST>.atlassian.net/rest/api/2/issue/"
I would appreciate your assistance with identifying the issue.
Thanks,
Udi