Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×Hi everyone! I need to restrict a user of a specific role from being able to edit a custom field. I made a script in Behaviours which works perfectly in a JIRA Software project, but in JSM this r...
I have the following issue. I have a cascading field with the following options and sub options A 1a 1b B 2a 2b C 3a 3b D 4a 4b A...
Hello all, I am trying to limit the Select list based on the results of a JQL search. The script I am starting with is below. I am using this in Scriptrunner Behaviours. I would like to replace t...
Hello all, I need help in setting up a validation on Cascading drop-down custom field in a JIRA Data Center environment using ScriptRunner Behaviours. How to make a "child" part mandatory, but only i...
Hi everyone! I ran into an issue with SR Behaviors. After updating Jira from 8.20 to 9.12.12 (SR version 8.39.0), part of the behaviors related to hiding options in a cascading field stopped working...
Hi, i want to create a button with scriptrunner that runs in a Jira and Xray plugin environment. It aims to create new Test Execution Issues for all tests in a test plan, based on a current test plan...
...hanges. It is only triggered once the page is reloaded (and yes, this is not added in the initialiser section ;) ) Is there some kind of limitation, that the behaviours are only triggered on page r...
Hello, I am using behaviors to hide specific issuetypes, i did the configuration (added a server side script to issuetype field in scriptrunner/behaviors) 1 week ago, it was working fine but now it ...
Hi Team,, I am working on requirements to restrict subtasks for specific parent issue types. Will these cases fit the scenarios? I used this behavior to restrict the subtasks to parent tickets. h...
Hi guys, I am currently trying to re-use existing functionality/code in more than one behaviour without copying the code into multiple script files. At the moment, all the scripts start with ...
....groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript FieldBehaviours behaviours def desc = getFieldById("description") def rdField = getFieldById(fieldChanged) d...
I'm looking to use Scriptrunner Behaviors in Cloud to set the Component of an issue to a default value on Load on the Create screen. The solutions I've seen for default values are either for strings...
Hi, i have a problem when i change name and key project servicedesk. After that in Scriptrunner Behavious not update name project on selected SD project. But on selected Project normal this have chan...
I've done this before with the behavior set based on a single custom field value, but for some reason this isn't working for the combination of field values. The scenario is that we have an Im...
Hi Team, I want to make a field "Read-Only" based on the value of another field. However, the field is completely disabled for other values during creation. Please review the behavior below and le...
...ilter scope. Can anyone help me out on that? Following tries did not work out and maybe I dont even need behaviours or I can use some workaround: import com.atlassian.jira.component...
Hello, I have an workflow that I'm using in all my development projects. For one of this projects I need to have a mandatory field, for one issue type, for some statuses. I tried to use scri...
Hi Team, I am trying to auto-populate a nested list in the description field with behaviour, but I am unable to find options other than ordered and unordered lists. I am looking for something simila...
Hi everyone, I have ran into the following behavior and I am not sure as to what could be causing it. In one of our project boards the issues within a specific column are ranked based on the numeri...
Hi Team, import groovy.transform.BaseScript import com.onresolve.jira.groovy.user.FieldBehaviours @BaseScript FieldBehaviours fieldBehaviours def ticketField = getField...
I can hide a tab on the edit screen using the name rather than number, but the name will not work on the transition which is a pain because they are in different order on edit and transitions screens...
Hi team, I am trying to set a field description using behaviour for JIRA. I was able to achieve that but the problem is that there is duplication of the description 2 times and i think it is because...
Hi Community, I have created a Select List (multi-choose) custom field "Platform" and added three options: Jira, Confluence, BitBucket. I want to hide above option of "Platform" field based on user...
I have a fairly simple script that sets fields visible on the condition of another radio button field. It is implemented twice, once on issue Create and a second on View or Edit. The one scr...
hello, I am writing a script using scriptrunner for Jira to add restriction on a particular date field. i am creating listener to check action but while doing so system is not able to import any of ...
Copied to clipboard