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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

393 views 6 0
Join discussion

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