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.