Hello,
We would like to block the creation of more than x tickets at a date defined in the ticket which is a mandatory field when it is created.
We have create a validator on the transition “Create” with script runner. However our code does not work, would you have any advice ?
Here is the code we have on the validator :
import java.util.logging.Logger
String projectUrl = get("/rest/api/2/issue/ITEST-59").asObject(Map).body['fields']['project']['self']
Logger logger = Logger.getLogger("")
http://logger.info (get(projectUrl).asObject(Map).body.name)
We are on Jira Cloud.
Thank you for your help,