I've created a custom field that I'd like to add an empty field prompt to, just like that for the Description field (e.g., "Add a description..."):
For my field, where can I add the prompt text?
More info: the field's data type and renderer are exactly the same as the Description field.
Based on the screenshot, we’re looking at the view screen, where the default value is shown as None - this cannot be changed. However, you can hide the field when it’s empty by configuring the issue layout in Project settings.
In the field configuration, you can set a default value - but for a text field, this might not be ideal, since it would retain the same value if the user doesn’t update it.
Alternatively, you can make the field required, which will add a red asterisk next to it and force users to fill it out during issue creation.
If the field is only needed at a specific point (not nesesserly during creation), you can use a validator on a transition. This way, when the issue reaches that step, you can show a custom message explaining why the field must be filled.
I’ve added a validator on the issue creation transition as an example:
Note: You must make the field optional again in the field config - required field checks happen before transition validators are triggered.
Thanks, @Lucas Modzelewski _Lumo_ . I appreciate your response. The field is configured exactly as we needed it currently (always visible, not required, no default value). The only thing I wanted to change was the prompt in the textbox when the field is empty, similar to the Description field. I think you've found what I found - there doesn't appear to be an option for this.
Again, thanks for the response.
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.