Run a script on an issue creation / display all fields of an issue screen creation in issue screen

Hello,

Is this possible to run a script when I create an issue ?

To explain, I fill various fields on my first form (issue creation). When I valid this one, I would like to know if I could run a script, in order to verify if each field was filled. Otherwise, I would attribute empty string to those which have not be filled...

Why? to force the display of these fields in the issue screen, because I realized that if they were not filled, these fields did not appear in the issue screen. It would be about an alternative solution.

Another solution I have found is to attribute systematically an empty string as default value for each field...

Thanks a lot,

Christophe

1 answer

1 accepted

This widget could not be displayed.

Yes, look at the Script Runner plugin + Post Functions. Not sure how maintainable this will be for you long term. Also not sure if this is a great idea long term as every issue you create will have non-null values.

Also have a look at some of the workarounds here:

https://jira.atlassian.com/browse/JRA-4812

Certain field types can have a default; use those when you can.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

277 views 5 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