Hello,
I am using Jira Service Management as a portal for our customers to make requests for our services. We invite those customers to our service desk portal by first creating an organization (i.e ExampleOrg) and then adding a customer to that org (i.e John Doe).
I would like to setup an automation for every time a ticket has been created by John Doe, it would ideally do the following:
- Trigger when issue is created in JSM
- Checks to see if the Organizations field is empty
- If this is true, somehow find out what Organization John Doe is apart of
- Then add that Organization to the ticket John Doe has just created
We basically always want to ensure a ticket has the Organization field filled in correctly, as we use that field in a few other automations as well, so it's quite crucial for it not to be empty.
I know that once a user has been added to an Organization, this 'Share with' field automatically appears in the service desk forms they fill in, but this opens chance that the request won't be assigned to an Organization, and we crucially need it to be.

Any ideas how this could be done with the built in JSM automation?