Retrieving the organization for a specified user

Todd Giaquinto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 15, 2023

When tickets are created in JSM we have to manually set the organization. I would like to automate this process, but I have two issues. First, our CX team said that adding Organization to a ticket essentially makes everybody in that organization a watcher for the ticket. To get around this I plan to have a read-only field that captures the organization (let's call it customer). That should avoid unwanted notifications on tickets.

The second problem is looking up the organization. https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/#api-rest-servicedeskapi-organization-organizationid-user-get allows me to retrieve all users in an organization but I would like to lookup the organization for a specified user. 

Please tell me that I'm just missing an obvious property or something. This feels like it should be easy but I just can't see the way to do it right now. 

Any help would be greatly appreciated.

1 answer

0 votes
Eduardo Oliveira - Mindpro Apps
Atlassian Partner
November 15, 2023

Hi @Todd Giaquinto

I have seen more and more cases like this challenge you shared, especially in service desk teams that serve multiple organizations and areas (whether internal employees or external customers).

If you need to bring this information about the organization from an Identity Provider such as Okta, Azure AD, Onelogin, etc.. an alternative solution is to use a plugin that my team and I are working on, "Mindpro Sync - External Data from OKTA, Azure AD & Google"

This app allows you to integrate with identity providers like Okta, Azure AD, and OneLogin to display user attributes (such as the reporter Organization, Location, Manager, etc..) inside Jira and JSM Portal and (re)use these attributes data to create JQL queries, filters, dashboards, create JSM queues, use in advanced automations, and more.

Additionally, you can:

  • You can choose to display data for the issue Reporter, Assignee or any other User field
  • Select and map the user attributes to be displayed in Jira issues or JSM requests
  • Show user hierarchy in the issue panel and JSM requests to facilitate escalation and approvals
  • Automatically assign approvers based on user hierarchy or via workflow post function.

This app has a 30-day free trial version with full support and onboarding assistance included. If you want, we'd love to offer you a live demo where you can talk about your specific needs.

Hope it helps,
Eduardo, from Mindpro team

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