Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Utilise reporters email domain to create an Organisation if it does not exist

Anthony R
Contributor
July 4, 2024

Has anyone found a better solution then automation for creating Organisations.

We have a public facing Support desk portal and a couple of years ago when we implemented JSM we needed a way to identify and report on the organisations that interact with us so we implemented an automation that I found here to create the organisation based upon the reporters email domain.
E.g.

Org Automation Edit component .png

This automation works very well. The problem is it works too well. We're on the standard plan and this automation is consuming a large percentage of our limit.

I saw that Atlassian announced this afew months ago 

 

Automatically manage JSM customers and organizations at scale (atlassian.com)

But it doesn't appear to resolve our problem because it appears at least in my testing to only work for existing Organisations not NEW organisations.

Does any one have any suggestions on how we might fix this OR how we could fix the automation to reduce the number of times it successfully runs?

And before anyone asks, yes we are looking at upgrading to Premium but that may take months.... looking for a solution for now.....

 

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 5, 2024

Hi Anthony,

I doubt you need this to happen immediately, so you should consider changing the trigger to be based on a Scheduled trigger instead of firing on every create. Then schedule it to run a couple of times a day.

Anthony R
Contributor
July 7, 2024

Hi John,

Thanks for your suggestion and the concept actually makes alot of sense,
Unfortunately I've tried rewriting this automation using a straight flow and JSM tells me it is not not compatible (see image)

I've tried using a JQL to identify the issues and JSM tells me it is not not compatible (see image)

I've tried using an IF Else condition to identify the issues where the Organisations field is EMPTY and JSM tells me it is not not compatible (see image)

I've tried using a JQL for tickets created TODAY, I've tried using branching and I keep getting the same outcome. JSM telling me I am using incompatible components....

What is aggravating me even more is that the "Help" Article that JSM links to provide very little help https://support.atlassian.com/cloud-automation/resources/ it simply says:

In Jira, The Edit issue action requires an issue to be previously provided by the rule trigger or a related-issues branch.

I've raised a ticket with Atlassian Support hoping they can offer some clearer direction.


Like John Funk likes this
Anthony R
Contributor
July 7, 2024

Automation Image 1.pngAutomation image 2.pngAutomation image 3.png

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2024

This appears to be a Components issue and not a JSM issue. However, is this a Team-managed or Company-managed project? Are more than one project involved? Are these regular Components? Or Compass Components? 

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