I am unable to check for a date between 2 dates. For whatever reason I am not having any luck finding this addressed anywhere and the Scriptrunner documentation for cloud doesnt seem to address it.
I simply want to do the following
(issue.fields.customfield_10098 >= '03/01/2019' && issue.fields.customfield_10098 <= '03/31/2019')
This works
issue.fields.customfield_10098 >= '03/01/2019'
How do you evaluate a between ?
Hi Shawn,
Thank you for your question.
I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms or to restrict the transition issues as workflow validators are currently possible inside of Jira Cloud.
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 provide a Rest API in Jira Cloud and not the same Java API that the server version contains.
You can also see more details on the differences between the cloud and server versions of the add-on in 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.