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..

 

Thanks!

1 answer

0 votes

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.

Cheers

Dyelamos

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,551 views 22 17
View question

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