Hey folks, I need your help with validation.
The task is -
Jira Cloud, no additional plugins like scriptrunner are added.
The Crutch..
The crutch of previous days that doesn't allow me to handle that situation above the proper way (to just not allow empty field during transition):
is that Jira Cloud doesn't allow to show empty custom field in the issue view.
Because of that I have to predefine that field with "Don't forget to fill this field before Code Review".
And no, adding " " or double space " " doesn't help you - as Jira Issue View renderer still counts " " and " " as EMPTY. Thus doesn't show EMPTY custom field :(
Hi Eskimo,
I do not believe this requirement would be easily possible out of the box using the validators that come as standard with Jira Cloud although the Regular expression validator may allow you to achieve what you require.
I would advise looking at an add on that can provide this functionality.
However, I can advise that this requirement will not be possible with ScriptRunner for Jira Cloud due to the fact that the ScriptRunner for Jira Cloud plugin is unable to provide the same workflow validators functionality that the server version provides.
The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provides a Rest API in Jira Cloud and not the same Java API that the server version contains.
You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
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.