Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I want to Update "Department Name" and Job description in user profile automatically.

I have a changes in my Jira cloud.
1) I have a 300 users in my Jir cloud, I need to update "Department Name" and "EMP ID"(DLT230) for all the existing users and new users automatically in user profiles.
2)If I get the Department name , need to list out all the employees based on department name in JQL.

 

1 answer

0 votes
Darryl Lee Community Leader Apr 21, 2021

1) The Jira REST API does allow for setting user properties that are only visible/usable (in Automation, for example) in Jira. Here's an example on Server:

And some information on doing it with Automation:

However, if you want to update the properties that appear in the User Directory (pictured below), that's a different API that uses different keys: https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/

Screen Shot 2021-04-21 at 11.54.57 AM.png

(I think those are categorized as "legacy User properties")

2) Unfortunately JQL does not have access to either of these types of user properties. There are a feature requests related to this:

Darryl Lee Community Leader Apr 21, 2021

My mistake. Legacy User properties are those that can be managed in the User details screen, as described here:

Update roles and properties for Jira users 

Suggest an answer

Log in or Sign up to answer
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