You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am creating a form and I need to conditionally switch a set value on a field if another field is empty.
What is your configuration for the "ConfiForm Rules for Definition" macro?
May be this one will help - https://wiki.vertuna.com/display/TEST/Form+with+default+values+set+by+Field+def+rules+and+by+registration+control
Alex
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 =
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can use some addons like automation for jira or scriptrunner, maybe issue edit postfunction is also possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.