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) 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/
(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:
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
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.