Hey folks, I need your help with validation.
The task is -
Jira Cloud, no additional plugins like scriptrunner are added.
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 :(
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.
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events