HI, when I creatre user, I meet a problem for input fullname.
Can you help me to find a way to generate user?
rest/api/2/user
{
"fullname": "Simon cook",
"name": "Simon cook",
"password": "1xxx23",
"emailAddress": "32422134@qq.com",
"displayname": "cook"
}
responds:
"errors": {
“fullname”: “must input fullname”
}
Hi @志华 西西
Welcome to the Community!
Based on the information you provided, it seems that the issue might be with the way you are formatting the request body. The correct format for creating a user in Jira using the REST API is as follows:
{
"name": "Simon cook",
"password": "1xxx23",
"emailAddress": "32422134@qq.com",
"displayName": "cook"
}
Please use "displayName" instead of "fullname".
Thank you.
It works.
By the way, how can I get the detail information for jira restapi.
For example, I can get restful format form below link.
But I want to know these key information, can you help me to point a link?
such as displayName, emailAddress and so on for the user api, or issue api.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I'm glad it works!
Actually, the link you provided is the correct one, you can find all details there.
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.