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

I want import my organization in jira service management

Melina RAMPERSANDS
Contributor
April 10, 2023

Hi

I am having so many organization to add to my JSM project. So I want import organization based on project specific.

Is there any option to do organization import using API in JSM??

1 comment

Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2023

Hello @Melina RAMPERSANDS 

Luckily, there is! We use the API to achieve just this.

Please read up on the API documentation to find the required commands

This link will take you to the create organization section, but please, read all about the API:

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

Good luck!

Melina RAMPERSANDS
Contributor
April 10, 2023

Hi

Thank you for the reply.

I am able to import the organization to Jira using API but my requirement is I want to import my organization for a specific project.

Example: I am having 2 project named p1 and p2, I want to import the organization named o1 and o2 for p1 and p2 respectively. so I want to import o1 value directly to the project p1 and o2 to the project p2.

Is this requirement possible to do in JSM ??

Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2023

Hello @Melina RAMPERSANDS 

Yes this is also possible. Please check the other sections of the documentation:

https://developer.atlassian.com/cloud/jira/service-desk/rest/intro/#project-identifiers

Melina RAMPERSANDS
Contributor
April 11, 2023

Hi @Paul Wiggers 

With the help of above documentation I am able to get the project List. But my requirement is to insert organization to a specific project using API in JSM.

Can you give detail procedure to achieve it ??

Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2023

Hello @Melina RAMPERSANDS 

I am not a developer but I would expect you can alter the URL to something like this:

https://your-domain.atlassian.net/rest/servicedeskapi/projectid:123/organization

That way you will only create the organization into project 123

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events