Hi Team,
Can anyone help me here?
I have added default template in description field using behaviours scriptrunner plugin. So that people can add something in the template. But most of the users/people are not adding any value in the template. Now i need to force must to add something in the default template in create screen. Any idea how can i achieve this.
My template :
def descriptionValue="""\
h4. Environment:
h4. Reproducibility:
h4. If reproducible, steps to reproduce:
h4. Actual result:
h4. Expected result:
h4. Additional information:
""".stripIndent()
I would suggest add these parameters(Env, reproducibility, actual result, expected result etc) a fields in create screen as field and make it mandatory. Add a post function on create to update the description field based on the values filled in the parameters.
If users want to update the description later on, then in the edit screen, hide these fields and let user directly update the description.
Hi Dibyandu,
Thanks, but every issue type will have different templates and in that case there will be lot of custom field which we don't want. So i just need to compare the template with description value(Create screen) so that if it is same then i can force the user to add some thing in the template.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.