Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation to change the Organisation based on Summary contents

Rebecca McMahon April 2, 2024

Hi, 

We are looking to configure an automation to check tickets raised under a certain organisation and update the organisation based on contents of the issue summary. The purpose of this is to separate these specific tickets as they will contain sensitive information which should only be accessed by a single user, which we have created a separate Organisation for.

How I have set up the automation so far is:

When: Issue Created

Condition: Organisation = ABC Organisation AND Summary contains "call recording"

Then: Edit issue fields: Organizations

However, I've found the only options for editing the Organisation include clear contents, use from User email domain, or copy from issues - none of which allow me to set a specific Organisation. 

Could anyone advise how we might be able to achieve this?

Thanks!

1 answer

0 votes
Jakub Koc April 2, 2024

From my understanding you would have to specify that specific Organisation before your rule starts or it would fail right away. I think you can use the customer field and that would be more suitable for your needs. Although if you want to experiment i recommend this thread: https://community.atlassian.com/t5/Jira-Service-Management/Sort-Queues-by-Organisation/qaq-p/2268344

As you mentioned Jira doesn't provide option to set specific Organisation by choosing it, eventually it could be possible by formatting json by advanced editing, maybe using that organisation.id would work.

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

 

{
"update": {
       "organizations": [
            {
              "set": {"organisation.name"}
            }
                          ]
                   }
}

Or something like that

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events