Setting a value to a customer field in depending on the value of another field

Neta Knyazhansky Caspy May 30, 2023

Hello,

I have 2 custom fields which are a single choice dropdown list.
I want to add an automation (or by using scriptrunner) that will set field A with value x if field B was set with y or z.

I'd appreciate any advice.

Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 30, 2023

Hi @Neta Knyazhansky Caspy ,

Go to your project settings --> Automation

Create new automation 
When == Issue Created
New Condition (IF) == Write the JQL (Example: Field B in (y, z))
New Action (Then) == Edit Issue field
Set the value for Field A 

image.png

Neta Knyazhansky Caspy May 30, 2023

@Rilwan Ahmed Thank you!

Works like a charm 

Like Rilwan Ahmed likes this

Suggest an answer

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

Atlassian Community Events