Hi Jira experts,
we have a service desk team with 25 people. I would like to export these users to a CSV file, that means I must have a 25 lines in this CSV.
I didn't find a way to do this.
If I go to Administration->Directory-> Users I can list these 25 users of my service desk team, but when I try to export these users I got a file with all customers in the organization.
Could you help me on this?
Thank you.
Hello @Jader Peixoto Volkmer
Hello, in your configuration, are you using groups to assigne the Service Desk Team role, or are you assigning it per user?
If it’s via groups, you can use the User Management menu in the admin site to export the users to Excel.
If it’s per user, I had the same case and I created a Python script using the REST API project role
/rest/api/2/project/{projectIdOrKey}/role/{id}
Where id is the role ID for the Service Desk Team role
You can take a look this documentation : https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-project-roles/#api-rest-api-2-project-projectidorkey-role-id-get
I think the best way to solve this is using the User-Agent Group as Jira allow me to export users of groups. So, I should keep this group updated.
As Jira doen't expose the user information and the so the groups it is not possible to create and automation rule to run every X days to keep the group information updated.
Thanks,
Rds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jader Peixoto Volkmer can you put all 25 users in a particular group? When I am in my JSM, and select settings (the gear) / User Management and click on the kabob (3-dots) to select "Export Users" it allows me to export by group. I just tried it for my team and it worked well.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dan Breyen ,
Yes, I was thinking about creating a group with the users from the service desk team. But in that case, I would have to keep this group updated every time there are changes in my service desk team.
If there is no other way to get the list of these users, I will create a group as you suggested.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you referring to the users with the role Service Desk Team, or the customer on that specific space (project)
Customers on a project can be fetched via; https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-customer-get
Or if its users in a role on a project, see; https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-role-id-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am looking for a list of customers with the role Service Desk Team in despite of projects. I mean, when I invite users to Jira I inform the role their role: Service Desk Customer or Service Desk Team. I am looking for a way to export the users invited with service desk team role.
Thank you.
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.