Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can i get Organization detail fields wit API call?

Huzur Polat September 1, 2024

I try it with the following  API Call

 

https://developer.atlassian.com/cloud/customer-service-management/rest/v1/api-group-organization/#api-api-v1-organization-details-get

call.jpg

token.jpg

 

 

 

https://apiURL.atlassian.net/rest/api/v1/organization

 

organisationdetails.jpg

I want to import a list auf Organizations from a CSV File. For this i need know the field for Mapping

I am looking for a way to do this with the API

2 answers

0 votes
Marc - Devoteam
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 2, 2024

Hi @Huzur Polat 

You can create organizations via the API and you can add organizations details via the API on an organization.

This can't be done in a single API call.

Organizations can be created via the API: api-rest-servicedeskapi-organization-post 

Organization details can be also created via the API: api-api-v1-organization-details-post 

Huzur Polat September 2, 2024

hey @Mar does this endpoint work for you?

https://XXXXXX.atlassian.net/api/v1/organization/details

curl --location 'https://XXXX.atlassian.net/api/v1/organization/details' \ --header 'Accept: application/json' \ --header 'Authorization: Basic XXXX' \ --header 'Cookie: atlassian.xsrf.token=74dfc9dbsbb82b852fb8912fa66e89f9eb3108513_lin'

https://developer.atlassian.com/cloud/customer-service-management/rest/v1/api-group-organization/#api-api-v1-organization-details-get

 

do i call the right URL?

Marc - Devoteam
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 3, 2024
0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 1, 2024

@Huzur Polat -

Although I have not use REST APIs to set organization details, and I believe currently it is not possible to do so.  You can use REST APIs to create new organization and pull organization details.

Take a look at the following posting - https://community.atlassian.com/t5/Jira-Service-Management/Are-there-any-API-requests-available-for-organization-detail/qaq-p/2560213

Hope this helps.

Best, Joseph Chung Yin

Suggest an answer

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

Atlassian Community Events