Hi all~
I am trying to create issues with jira rest api v2,but got this:
{
"errorMessages": [],
"errors": {
"reporter": "reporter is required"
}
}
My param is :
{
"fields": {
xxx...
"reporter": {
"id": "12823"
}
xxx...
}
}
I don`t know what is the reporter`s id. I find that the database 'cwd_user' has columns:
ID | user_name | email_address | EXTERNAL_ID
12823 | whatdong | whatdong@email.com | 12345:a008e9321-ff089-adfadsf
I tried ID,EXTERNAL_ID, subString of EXTERNAL_ID (a008e9321-ff089-adfadsf)....
So,What should I do?
Hi @What Dong ,
do you have to define Reporter?
If you delete Reporter from your parameters, an issue is created with your account as a reporter.
Would that work for you?
Best,
Michael
Thank you very much.The UI and tip lied to me.I delete the reporter,and it works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @What Dong
User fields such as Reporter would rely on the "username" or "key" to identify what user you're trying to associate on Jira. To find out what those values are you can go to your User management area to know what the username is and use that for your "Reporter" value.
"reporter": {
"name": "freddy"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.