Forums

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

How to automate assign organization field to issue without change customer field

Evgeny Vasilenko
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 23, 2023

Hello,

When I use automation (described at https://confluence.atlassian.com/jirakb/how-to-add-jira-service-management-customers-automatically-to-organisation-based-on-reporter-email-domain-1142450886.html) with trigger "Issue created", action "Edit issue" and select "Organizations" field to "reporter's email domain", in addition to change issue field, automation also changing user organization field.

How can I automatically assign organization to all new tickets, but only manually add customers to organizations? Or automatically clear organization field for customers after this?

I want to restrict access in the selfdesk portal to organization's tickets to only manually selected users.

1 answer

0 votes
David Friedrich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2023

Hi @Evgeny Vasilenko 

Welcome to the Atlassian Community!

If I understand correctly you want to automatically add a specific org to new issues, is that right?

So to automatically assign a organization to all new tickets, without automatically adding the reporter to it as well, use this JSON under "More options":

{
"fields": {
"Organizations": [4]

}
}

 

[4] being an example for the id of your desired organization. You can see the id in the link when hovering over an org name in the org list.

Hope that helps!

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