Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,059
Community Members
 
Community Events
165
Community Groups

update Name using rest api JIRA

Edited

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

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

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

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