I'm running Jira Server 7.9.2 and ScriptRunner 6.0.1.
I have a create/edit screen with 3 tabs.
Tab 0 has 2 required fields set in the field config.
Tab 1 and Tab 2 have fields that are dynamically required via a Behaviour.
Steps
While on Tab 0, ScriptRunner blocks the Submit or Update because we have required fields on Tab 1, which isn't currently selected and therefore is not visible to the user.
Question
When the user is on a Tab that is completely filled out, but another Tab has required fields that still need to be filled out, how can I make that obvious to the user to switch to the Tab 1 to fill out the required fields before trying to submit?
In this screenshot, the 'Background Info' tab is complete, but the Software tab has required fields. There's no visual cue to the user to switch tabs to continue filling out required fields.
Hi @DH ,
We were having the same problem. I found out that this was already raised as a Bug with Adaptavist. The bug has been fixed in v6.9.0.
See https://scriptrunner.adaptavist.com/6.9.0/jira/releases/release-notes-6.x.html
Bug SRJIRA-4332. So upgrading to this version or above should resolve your problem.
Cheers, Rik
Thank you @Rik de Valk , we are on Jira 7.9.2 and ScriptRunner 6.3.
Version 6.9.0 of ScriptRunner does not support our version of Jira.
We are planning to upgrade soon, but until then, we are will have to wait to get the bug fix when we upgrade.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Answer I came up with was not to use a behaviour to make them dynamically required.
Instead, I used a workflow 'simple scripted validator' which returns the user to the correct tab and highlights the field with a message of your choice, indicating to the user that the field is required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.