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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

How do I automatically populate a read only field when another field is empty

I am creating a form and I need to conditionally switch a set value on a field if another field is empty.

2 answers

@Whenrick Rodney 

What is your configuration for the "ConfiForm Rules for Definition" macro?

May be this one will help -


I have a Read-only field:

The field should populate with "some message" when another field is not empty

Current Macro Setting:

Field Name (or Expression) = Blank

Condition = fieldName:[empty]

Action to execute *= "I'm trying to set the value of a field"


What should my Rule Definition Macro look like?

Field name =

Condition =

Action to execute* =

Message to show when validation rule matches =

Validation rule = 

Field name = fieldName

Condition = !fieldName:[empty]

Action to execute* = Set Value

Parameters to set: fieldYouWantToSet=Value


Screenshots from the editor (simple form with 2 fields: fieldName and fieldYouWantToSet)

Screenshot 2021-07-27 at 16.45.30.pngScreenshot 2021-07-27 at 16.45.37.pngScreenshot 2021-07-27 at 16.45.43.png


0 votes

you can use some addons like automation for jira or scriptrunner, maybe issue edit postfunction is also possible

Thanks, Alexander. I'd like to move in the direction of using the ConfiForm Rules for Definition' Macro. I feel like I'm not constructing my rules correctly..

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events