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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trigger the evaluation of a behaviour field from another behavior field

Hi,

I've got an issue (and not the first time i've run into it actually) that i find myself needing to get another field on the same form as a field to re-evaluate the behaviour script attached to it. 

My exact scenario is say you have 3 fields which all have values that rely on each other (Like a cascading select) and i want achieve the following:

  1. Make field 2 and 3 read only when the 1st field has no value selected
  2. Make the 3rd field read only when the 2nd field has no value selected.  

In my mind it seems to me that you would want to keep the logic for making a field read only in it's parent script so field 1's state determines if field 2 should be read only and field 2's state determines if field 3 should be read only.

That is achievable without having the scripts be interdependent but it does require each script to be setting the state of all other fields involved when it's value changes (so in bullet 1 above the script on field 1 is having to set the read only state of 2 and 3). It would easier if a field could trigger the re-evaluation of another field in the chain. Is there any way to achieve this other than just having each of the scripts set the state for all of them (or at least fields 'below' it in the chain).

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

750 views 12 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you