I am trying to create a Scriptrunner Validator to prevent the transition of an issue if the component field does not have the value "Red" or "Blue". I can check that there is at least one c...
...ot let them to submit the screen. I picked transition to Send To the Team and added validator with Custom ScriptRunner. But seems it does not have affection. Jira shows that script works, but t...
Hi! Is possible validate if the summary that user in creation exist in the project? We need that all issues created in a project have different summary We have Jira-Cloud and scriptru...
...ctually entering information in the mandatory field. I researched and found that I can add a validator in the workflow. I have tried adding a validator. That: "Details" CF "should be m...
...ooking to get this using workflow validators using scriptrunner for Jira cloud using Jira expression. However, expression is able to validate only text field not the multiselect field. Tried with below e...
Is it possible to use jira expression on validator with JIRA free plan? I can't find this option on create validator
Hello, We define a workflow validator with Scriptrunner, to allow the transition only if a custom field (text field, with Wiki Style Renderer) is not empty. The Jira expression is: i...
...ew issue with an assigned sprint if the sum of story points in the sprint exceeds X. Both sprint and story points are required for every issue. I tried to achieve this using a workflow validator w...
I have a field with the name MoA Total (numeric field) How to make sure that when submitting status A to status B, there is validation as follows - If MoA Total < 0, then it is invalid a...
Hi! I wanted to limite a text-field (multi-line) to max 1000 characters on creation transition, in scriptrunner I tried with this: cfValues['customfield_10202'].length() < 1000 er...
My company has been using Validator in the workflow to require the Parent field when creating an issue for over a year. However, the parent required error kept appearing yesterday out of no clue, e...
I'm trying to use a validator to make sure issues with "<Update Text>" in the description can't transition. The regex I think should work is this: ^(?:(?!<Update Text>).)*$ I've a...
Hi all! I'm having an issue with creating validator for Jira's Team field (team picker). I used issue.customfield_30101 != null but if field is empty or not validator don't let me f...
Hi all, Bit new to ScriptRunner as I am attempting to build a validator during the transition for when an issue is being created in the workflow on Jira Cloud. I want that when a customer s...
Hello, I want to do the following operations with ScriptRunner, but I always get errors. I asked chatgpt and it gave an error again. Summary (text) field must be at least 10 characters. (Validator...
...orkflow transition validator, I don't know how to access the "previous" value of this field, to be able to check whether the values which were removed are "compliant".
Hi guys, Exploring Jira Cloud faced with a bug (?) Team managed project: I added a validation of field Parent on transition. Checking this rule, the field is not empty: But d...
...ssue fails. Another thing is that the issue parent's hierarchy is at level 2 (premium plan), so I tried executing the validator on the creation of an epic issue. issue.parent != null && (i...
...file to the issue. I understand that this must be done through a transition validator, I have already added it but it does not work for me, I think I am missing something for it to work successfully....
Not able to add "unsupported" validator through REST API in Bulk workflow transition error like "Rule cannot be applied to this type or is unsupported". JIRA REST API Endpoint: "h...
...ype has been selected? I was looking into the workflow but I can not find the correct condition or validator for this. I would like to keep this solution out of the box. I am aware that there a...
Hi Due date is crossed. configure the pop-up drop-down for the project manager to choose the reason, and if due is not crossed, they should not get the pop-up. Could you please provide suggest...
Hello everyone, I'm try to create a "simple validation script" using ScriptRunner which validates that 2+ attachments have been added to a creation screen IF the customfield "request type" = "Urgen...
...roject screen and in a transitions screen. But, when he tries to add a requried field validator in the transition where this screen is added, this field is not shown. I tried to check with a...
Hi dear community, I have encountered a bug, where, if I access a custom field using issue.getCustomFieldValue in a Validator, I will get a NULL value for calling the same in a post-f...
Copied to clipboard