how to change a required field to optional when creating an issue , using SIL langage in Power scrip
Hello @ichrak_djebrit ,
It`s important to know how the field is set to be required in your system: using Power Scripts functionality or Jira native configuration. In case it`s done via Power Scripts it can be a validator/condition on transition, or Live Fields script so if that`s the case please share such script you currently use. But if you configured a field to be required via Jira's user interface using the "Required" link associated with that field, I don`t think we can make it optional via SIL script. As a workaround, we can add some default value to that field on the Create issue.
Please add more details about your current setup and maybe we`ll find some options.
Best regards,
Anna
Thank you for your response, @Anna Hryhoruk _Appfire_ , actually it is a system field and it is required by default in the sytem (Summary) so i can't change it to optional in the configuration of that field, so i need a solution for this, (i'm thinking about using SIL langage but i didn't create a script yet),
"The idea is that i want to create an issue with optional summary field "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ichrak_djebrit , unfortunately, it`s not possible to make a summary field optional in Jira. It is always a required field, and the only workaround I can suggest is to add some default value to it on the Create screen using Live Fields from Power Scripts. Please check this page, it describes how to set default values for system fields on the Create screen. The summary field is not a part of the example, but it can be used there in the same way as the description field.
Best regards,
Anna
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.