I'm trying to hide or show a custom filed on a transition screen based on the value of a custom field in the underlying issue. I'm using a ScriptRunner behavior to accomplish this. I am f...
Hello, I'm working on a Scriptrunner Cloud Behavior that is meant to dynamically update the Summary field based on what the user is inputting on the Create Screen. This needs to be happening as a Be...
Hi Team, Can we hide the "Reason Not Approved" field under the Details section in the ticket view once the team has approved the transition (or ticket)? After a ticket has been approved or closed,...
Hi All, I am trying to make the Linked Issues field mandatory via Jira Scriptrunner Behaviour in JIra cloud. I tried below code but it didn't help. getFieldById("issuelinks").setRequired(true) ...
I use several Behaviours scripts to handle fields on a Jira Software form. In order to communicate with each other, these scripts use a hidden technical customfield Text Field (multi-line) to store t...
Hi Community, I want to set custom fields as Visible/ ReadOnly present on particular Field tab based on user group when the issue reaches to a particular workflow status. For example: I...
Hi Community, Can you help me out with my use case mentioned here: https://community.atlassian.com/forums/Jira-questions/Re-Re-Make-field-required-on-create-subtask-from-dashbo/qaq-p/2979512/...
Hi Dear Colleagues, I need a script for behavior, that will not allow selecting past date when creating a ticket for the date-time picker field. I have a scriptrunner and want to do it with behavi...
Hi Community, I want to restrict the visibility of select list (multiple choice) field options to specific user groups and on a Create transition using Scriptrunner for Jira Cloud. My use-case is: ...
Hi Community, I want to set a pre-filled value in Summary and Description when opening the Create Screen using Scriptrunner for Jira Cloud. I am passing the below command when initial p...
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...
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.