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

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 Leaders.
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 Leaders.
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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events