Forums

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

Need help updating the "Organizations" field in a ticket from custom field.

Cameron Loperfido
Contributor
November 7, 2023

"Organizations" = "customfield_10002"

(Custom label field.) "Org" = "customfield_10179"

 

I am trying to automate:

  • When the label field "Org" is changed, update the corresponding "Organizations" field.

 

I feel like where I am getting stuck is starting me in the face, but I can't see it. Below is where I am at now. Any help is appreciated!

image.png

2 answers

0 votes
Joseph Chung Yin
Community Champion
November 7, 2023

@Cameron Loperfido -

Are you trying to update Organizations field based on the issue data?  Example, customer A created the issue and you want to update Organizations field.

Here is a previous posting showing using automation to set Organizations field based on reporter's email domain - https://community.atlassian.com/t5/Jira-Service-Management/automation-rule-for-setting-the-organization-by-the-reporter/qaq-p/1792081

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Cameron Loperfido
Contributor
November 8, 2023

Hi Joseph, I am trying to update the Organization field when a custom label field ("Org") is updated.

So say I add the label "CompanyA" to the "Org" label field in an issue, then "Organizations" will update to "CompanyA" as well.

0 votes
Cameron Loperfido
Contributor
November 7, 2023

I'm almost positive the issue is with the additional fields in the "edit issue" component.

Cameron Loperfido
Contributor
November 7, 2023

When filling in an "Organization", I see the following in Postman:
image.png

Do I need to update all metadata of the field?

Do I fundamentally need to change the automation to update ID instead?

Does updating the ID cascade the other subfields?

..so many questions.

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