It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Thomas_Deiler Community Leader Feb 15, 2020

Dear @ServiceNow ,

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

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) ? 

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 Feb 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

What’s New in Jira Software Server & Data Center: Remote Summit 2020 Roundup

Hi Everyone, I hope you’ve all had a chance to participate in our first-ever Remote Summit. We virtually laughed together, heard exciting product updates, conversed in the chat rooms, and watched s...

196 views 0 11
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you