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

Getting the issue type in script on change event

Hi All,


We have a requirement where we need to pre fill some of the fields based on the issue type selected and this was done using script runner via behavior. But when we change or switch the issue types the pre filled values doesn't clear. i.e. Once when the value is prefilled and even when there is a change in the issue type from create dialog box it remains the same.


Kindly advise on how to clear and populate fields based on the selected the issue type from create issue dialog box. We are currently using Jira 8.x.

1 answer

We would need to see the script. I think you need to create another one, that will clear those fields upon changing the Issue Type, or you just need to restrict the operation of the script so that it only works for this one issue type, without affecting others.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

260 views 2 5
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