Hi @Ran Tian,
You can use JIRA Service Desk API REST: https://docs.atlassian.com/jira-servicedesk/REST/3.11.1/#servicedeskapi/organization
Cheers,
Adrián.
Can you give the specific api that I should use?
As far as I checked, it can only get users in organization. But it cannot get organization info from a user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ran Tian
This is not the most efficient way, but for example first you need to get all the organizations, then get all members of each organization and check if the user is in the current organization.
Cheers,
Adrián.
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.