Strange GUI Glitch with Tree and Script Runner Behavior

Issue #60 resolved
Former user created an issue

Created this Behavior:

import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript

@BaseScript FieldBehaviours behaviours def docType = getFieldByName("Document Type").getValue() def swDomainFld = getFieldByName("SW Domains")

if(docType=="SAS"){ swDomainFld.setRequired(true) swDomainFld.setHidden(false) }else{ swDomainFld.setHidden(true) swDomainFld.setRequired(false) } When I Select value different then SAS then and then SAS again, the tree appears on the left corner of the form and not under the field - see attached video. Please advise

Comments (16)

  1. Yury Oboz repo owner

    Do you have other scripts for this customfield?

    Why when you open "create dialog", customfield already activated(has focus)?

  2. Yuval Zaltz
    1. No
    2. Good question - I assume that setting the field required focusses it Please note that this happen only when the Form is flowing. for example - if I r. Click the Create button and open in another tab- the glitch does not occur while if I open it in the same browser tab (the windows is now floating) it happens

  3. Yury Oboz repo owner

    I think a problem is that field activated before than it became visible. I added check before activate dropdown

  4. Yuval Zaltz

    For some reason- I missed your replay - validated - it works - when do you plan to deploy this version officially?

  5. Log in to comment