Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to provide default values to the widget?

I have used Javascript to update the widget's email as we know it within the application, however when I try to submit the values have not been validated therefore the input has an outline as if it is empty, does the widget not verify values of inputs until a user has interacted with the input?

For reference I am adding in default summary and Email like below 


if (emailInput && user) {

emailInput.value = ` ${} \n`;


But as you can see from the photo it is suggesting I need to input something into the input

Screenshot 2021-12-16 at 14.44.25.png

1 answer

0 votes

Hello @Tony Maynard,

Welcome to the Atlassian Community!

When using the widget, currently, it's not possible to pre-populate fields. We understand that you would like their account to be automatically added to the field, but this functionality is not supported, they will have to type their email address.

There is a feature request suggesting the implementation of this ability:

Please, click on vote and watch to receive updates about the feature.

For help with your Javascript, you can reach out to our Developer Community:

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

703 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you