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
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.