The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to export the Organizations as CSV

Ruchi
Contributor
September 24, 2024

We have option to " Import from a CSV " in Organisations under JSM project but is there any way to export these details as well.

 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Mehmet A _Bloompeak_
Atlassian Partner
September 24, 2024

Hi @Ruchi ,

As far as I know the only option is using rest api and it returns JSON not CSV.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-get

The rest api has pagination, it takes 50 organization on each page. You need to modify the start parameter if you have more than 50 organizations.

/rest/servicedeskapi/organization?start=1

 

Ruchi
Contributor
September 24, 2024

Thank you @Mehmet A _Bloompeak_  I tried the above suggestion but why is it giving random organisations , I was expecting to see the 1st 50 organisations.

 

Mehmet A _Bloompeak_
Atlassian Partner
September 24, 2024

I guess it returns the organizations ordered by their ids. The ids are generated by the organization creation date. It is not possible to get organizations ordered by name. You need to get all the organization page by page and then combine them into a single json array. Then you can sort it using javascript coding.

Ruchi
Contributor
September 24, 2024

Thank you:)

 

0 votes
shib saha
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 Champions.
September 24, 2024

Hi @Ruchi , Welcome to the community! There is no option available from UI to export the organization member in csv in JSM. Here is the link to the rest api for extracting the same data to csv using th erest api.

Hope this will be helpful to your query, in case of any query let me know. Thanks

Ruchi
Contributor
September 24, 2024

Hi Shib @shib saha  Thank you:)

Could you please share the link , I dont see this in your answer.

shib saha
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 Champions.
September 24, 2024
Like Ruchi likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events