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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

88 views 0 5
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