Forums

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

Is it possible to export the Organizations as CSV

Ruchi 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

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 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 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 Leaders.
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 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 Leaders.
September 24, 2024
Like Ruchi likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events