Behaviors issue type server side script behavior

I want to capture the event in a serverside script when a user switches issue type in the create issue screen. When a user does this i want to reset some field values, set default field values..etc.

We also have field templates (e.g Description template) for each issue type. When a user submits form for issue creation, the data entered is reset when validation fails.

How to combine these two behaviors using behaviors script..



1 answer

Hi Ian. 

Before I go to an instance to try this out, I want to be sure I fully understand what you want to do. I understand that all of this is to be carried out in the Edit Issue Dialog.

1. You want to reset a number of fields everytime a user changes the Issue Type.

2. You want to reset some fields in case validation for the creation of the issue fails.

If you can give me a precise example with what you want that'd be helpful, since I actually want to go into an instance and get this behaviour for you.

Hope to hear from you soon.



Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

37 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot