Error- "Reporter is required" With reate Isssue REST API despite mentioning the reporter

Salesforce Integration February 14, 2020

Im ll in a sudden recieving errors that "reporter is required" on create ISSUE API despite mentioning the correct reporter name .

 

The automated job was tunning fine until last month. suddently i get this ISSUE , it used to work perfectly back then.

 

 

 

{
"fields": {


"project":
{
"key": "PROD"
},
"summary": "Always do right. This will gratify some people and astonish the REST.",
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Order entry fails when selecting supplier.",
"type": "text"
}
]
}
]
},
"issuetype": {
"id" : "10000"
},
"reporter" : {
"name" : "Jeff.May"
}
}

}

2 answers

0 votes
Chris Doman February 19, 2020

https://community.atlassian.com/t5/Jira-questions/where-can-i-find-my-Account-ID/qaq-p/976527

https://********.atlassian.net/people/5bb7ad0ccc53fd0760103780

The bold part of the URL is my accountID

0 votes
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2020

Dear @Salesforce Integration ,

if it worked before and you didn't change anything in your client rest call, the cause is most probably: The REST API changed.

Its a cloud product that continuously changes. Have a look at the API DOC. In the example they do not use "name" for the reporter but it's ID:

"reporter": {
"id": "5b10a2844c20165700ede21g"
},

So long

Thomas

Jean-Pierre Caron February 18, 2020

We have the same problem and we are using v2.

 

Could anyone point to the API DOC and show the expected possible value(s) for reporter (not example) ? 

Jean-Pierre Caron February 18, 2020

Also, anyone know which receiver list I need to be on to ensure that I know this type of changes ahead of time (and how to test them ahead of time). Cannot play catch up on Jira API once it is actually out there and have tool downtime due to a Jira API issue.

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 18, 2020

Dear @Jean-Pierre Caron ,

its same for V2.

If this not enough, I request you to ask the more detailed developer questions at: https://community.developer.atlassian.com/

So long

Thomas

Like Matthijs Wagemakers likes this

Suggest an answer

Log in or Sign up to answer