I've been looking at the Behaviours plugin, I want a blank free-text field to appear if "Other" field selection is selected in another field. Unfortunately, I can't get it to work due to my lack code writing knowledge.
put the validator on the select list. The validator code would be something like:
def selectList = getFieldById(getFieldChanged())
def blankTextField = getFieldByName("Some Text Field")
blankTextField.setHidden(selectList.getValue() == "Other")
You need to create a text field called "Some Text Field" and add to project, screens etc.
Thanks for your response Jamie. I haven't gotten a chance to try the validator yet because I came across another issue related to the Behaviour Plugin. I'm working on another project and whenever I tried to create an issue, I receive an error message "Error creating issue: Cannot invoke method getValidators() on null object". If I disable the Behaviour plugin, then it works and I'm able to create an issue. We are using JIRA v. 5.1.7 and I've tried running Behaviour v. 0.5.2 and 0.5.3. Thoughts?
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs