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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,456
Community Members
 
Community Events
184
Community Groups

I want to create an automation rule that deleted a specific field

Automation rule :

when issue updated, rule is run

if Field A is empty

then Edit issue --> delete Field B

else Field A contains "Yes"

then keep Field B

 

I want to understand how i can make a then component that deletes a specific field when the condition matches.

 

Thanks. 

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 21, 2023

You can use the If/Else condition component. jira-automation-conditions 

Hey, i used the if/else condition, but in the "then" componet i don't see i action that delete a field, thanks.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 21, 2023

You cannot "delete a field" but you can edit a field and clear it or set to none.

Like David Pleşu likes this

When i set it to none ? This field will disapear ? If will disapear then how i cal set it to none 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 21, 2023

Disappear from where? If you mean for the field to not appear, when viewing the issue detail view, then if you configure the layout to hide when empty, then if you clear the field B, it would be hidden. This assumes that you are using a company managed project. In any event, it would help to have more details of what your use case is, and what's your ultimately attempting to do by "deleting a field"?

when creating a issue, i have Field A with one option "YES", when you select "YES", you need to describe in Field B, but when you don't select "YES", the Field B, needs to be hidden after you create the issue. Something about this. 

 

Regards, David

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 21, 2023

If you are using company managed project you might consider using a cascading select field here if the options for field B are known. This would seem to be a better solution than creating an automation rule to clean up.

However, if Field B is a text field, and you wish to have the user provide details of why they chose Yes, in field A then you would need an add-on to achieve that. Of course, you could still cobble something together in an automation rule to clean up information in Field B if Field A is No or blank. 

Like David Pleşu likes this

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events