You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.