The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

update Name using rest api JIRA

Hello All,

can you please advise me how i will update a name in jira api?

I am getting error 405 Method Not Allowed.

When i am using using rest api. 

With this api link: https://[websiteattlasian].atlassian.net/rest/api/3/user?accountId=

 

 

[
    {
        "self""https://[websiteattlasian].atlassian.net/rest/api/3/user?accountId=",
        "accountId""accountid",
        "accountType""atlassian",
        "emailAddress""emailaddress",
        "avatarUrls": {
        },
        "displayName""Tom Jerry",<------ i just need to change the displayName
        "active"true,
        "locale""en_US"
    }
    ]

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 16, 2022

What system are you using to provide user accounts to your Cloud site?

Do you have the right to change the display name on this account?

Hi @Nic Brough -Adaptavist- ,

 

i am an admin of the site.

i am using standard version and jira.

when i am using post to create a new user ,it is not taking the displayname.

It is actually taking the name name before the @ in the email address.

For example the emailaddress is tomjerry@gmail.com

The display name in the json that are posting is John Cena.

It is not taking the display name 

It is taking tomjerry as the display name in jira.

I am  using postman

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 17, 2022

But do you have the right to change the display name on the account?  Can you log into site admin and manually change the name?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events