I try it with the following API Call
https://apiURL.atlassian.net/rest/api/v1/organization
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
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
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'
do i call the right URL?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Huzur Polat
The composition of the call should be:
https://api.atlassian.com/jsm/csm/cloudid/cloudid-number>/api/v1/organization/<organization_id>
Cloud id number can be found via: https://confluence.atlassian.com/jirakb/how-to-find-cloud-site-id-1272283178.html#:~:text=Solution,atlassian.net%2F_edge%2Ftenant_info
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.