Forums

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

How to remove field values when another custom field values changes

PLaksh11
Contributor
July 4, 2025

Hello Community,

We have multi selected field value which user can select single or multiple values.

Ex for multi select field values: Apple, orange, Banana and Grapes

When User selects Apple and orange then we have corresponding fields which needs to filled.

Ex for corresponding fields: Apple1,Appl2 Apple3, Orange1, Ornage2 and Orange3 Custom fields.

Later if user removes "Apple" from multi select custom field then we want to remove  Apple1,Appl2 Apple3 values automatically.

Is there any way that we can achieve this from Jira automation rules or script runner?

Note: we are using Jira cloud

 

 

2 answers

3 votes
John Funk
Community Champion
July 4, 2025

Hi @PLaksh11  - Have you tried creating the Automation rule? Can you share what you have? 

Basically, you will start with a Field Value Changed trigger, then use a series of IF/THEN Conditions to accomplish what you want. 

Bill Sheboy
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.
July 4, 2025

Hi @PLaksh11 

Yes, and...to the suggestions from @John Funk 

We need to see the details of your rule and option selections to provide specific suggestions. 

Until we see those, if your different option values indeed follow a pattern as you describe, please see this article for how to remove values from on list using the match() function and then use advanced edit with JSON to make the field update:

https://community.atlassian.com/forums/Automation-articles/Automation-concepts-Find-Overlaps-Between-Lists/ba-p/3045704

Kind regards,
Bill

Like John Funk likes this
0 votes
Gor Greyan
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.
July 5, 2025

Hi @PLaksh11

Welcome to the Community!

Please inform, are Apple1,Appl2 Apple3, Orange1, Ornage2 and Orange3 separate custom fields or these are values for one customfield?

Suggest an answer

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

Atlassian Community Events