When creating issues/tickets in Jira, we are currently using ScriptRunner Behaviours to show/hide fields based on a dropdown field, as well as setting components based on that same dropdown field. The show/hide & components part is working exactly as we want it to. However, Jira leaves the component field as the focus on the screen, & leaves the cursor in the component field ready to enter additional components. If the fields to be displayed are more than can be displayed on the screen, it focuses the screen on the components field and the user has to scroll back to the top to complete the form. How do I set the focus back to another field, & make the cursor active in that field? Ideally, I would want the screen to re-focus on the summary field, & make the cursor active back in that field.
Could you please share the code you currently use so I can review it and try to reproduce the problem in my environment?
Also, please share the current version of Jira and ScriptRunner you are using. I am asking for this to configure my environment to match yours and try to replicate this.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.