Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,846
Community Members
 
Community Events
168
Community Groups

Use ScriptRunner to set focus on a given field when using a behaviour

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, when Jira leaves the component field as focus on the screen, & leaves the cursor in the component field ready to enter additional components.  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.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events