Hi all, I'm looking for help for a groovy script, which is not what I'm best at :) In a transition from A to B, I would like to compare two fields: Vendor: Insight Referenced Object (single) / Cust...
I am just starting to use scriptrunner workflow validator functions and I am finding that the examples in the scriptrunner documentation get you so far, but don't answer all the questions. For examp...
Hi...I need a validator to allow a transition only if the epic has at least one child. I tried to use one of the examples under the simple scripted validator section in scriptrunner (Has at lea...
I'm setting up a simple scripted validator on the create step to ensure that the Affected versions are released, however the validator always fires even for affected versions which are released, and ...
Hi there, we need to set comment to mandatory when the field "Flagged" is marked. Tried this based on the current groovy documentation, but this is not working as the variable is not declared... cf...
Hello! I am trying to make my custom field mandatory on transition if issue has not link type "included in the package". There is my code: def xlink = issueLinkManager.getOutwardLinks(issue.getId(...
Hello Guys, Could you please help me to validate the values selected in a multi select custom field of Jira. In the multi select custom field 'cf1', if the user selects any field other that "cf1_va...
I've used the following code to try to validate that there is a certain link type when a custom field has a certain value. It is failing whether I create the link before the transition or when I try ...
We have a validator that prevents us from creating new issues unless a specific custom field is set. The problem is when issues are created from Crucible or Bamboo, there is no way for the user to se...
I need help with throwing an error when a value of custom multi select list (Version Picker (multiple versions) ) is 'Value1' and fixversions is empty. I tried: !(cfValues["Multiselect"]*.value.con...
Hi, I am trying to edit the error message to be more visible for the our usual JIRA user. Right now I have something like this set in the Simple scripted validator: image2015-11-20 12:4...
Hi! Can we set a custom field as mandatory based on another custom field value at issue creation stage? (with Simple scripted validator) I Have: "customfield_17212" (Select List) ...
Hi All, Is there a validator available to check that fix version is >= affects version on resolving issue. Any plugin which has this validation feature or any groovy script available to do this?...
I have looked and tried several different way of trying to solve my problem with the Simple scripted validator but have been unsuccessful. What I want to do is verify that the Fix Version field...
Hi All, I have a scenario: -> There are two fields, one is a 'Text field' and another is a 'Multi select list', these two fields appear only during a transition. -> Multi select list field i...
I have a script that works in Jira 4.2 and groovy version 1.7.13 !(cfValues['Requested start date']!=cfValues['Requested end date']&&!(cfValues['Requested daytime'].equals("Whole d...
I have a simple scripted validator I want to validate whether a field it filled out based on another field's value: cfValues['Implementation Method']?.getValue() == "Premise" || cfValues['Implement...
I'm trying to create a simple script validator, but am unable to edit the condition field. I can select and edit the message field, and the field drop down indicating which field shows the message u...
Hi! I wanted to allow a transition if the assignee is equal to username lsc.pa or if issue.assignee != originalIssue.assignee. Can anyone help me to achieve this goal? I wanted to implement this as...
Is there a way to check of a "non-custom" field has a particular value? I want to make sure the "Resolution" is "Not an Issue", but the script cfValues['Resolution'] like 'Not an Issue' does n...
We have 2 simple scripted validators applied to a workflow when you create a new request. One of the validators just checks to make sure that the Priority is set to "Critical" or "High", and the oth...
I tried to check the filling of fields by following way: if (cfValues['Номер письма'].value !='' || cfValues['Другой способ извещения'].value !='') {true} but this does not work. Any suggestions?
Throwing myself on the mercy of the boards, because I am not having any luck getting this to work on my own: I have several select lists with options "Please select a value", "Yes", and "No". I w...
Copied to clipboard
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.