Hello Community, Is it possible in ScriptRunner Cloud using Behaviour to set a subset of a custom field or the component field? for example, CF: [1,2,3,4,5] i want to give an o...
Hey Community, In Script Runner Cloud, how can i set the value of the "labels" field to a string that i have? for example i'm trying to do this: getFieldById('labels').setValue('LEFTFIELD') ...
...ried using the following ScriptRunner behavior, but it still shows all the issue types available in the project instead of excluding these three. Is there something wrong with my script? &n...
Hi Team, We have a system field called "Update Date" (the actual field name is "Updated," which is located under the "Created" field). I have a requirement to update this "Updated" field whenever ...
Hello everyone. I have a problem, when I go to the workflow tab in scriptrunner it shows error Sorry, something went wrong Try to hard refresh the page, or switch to a...
How can I access to the issue where was attached a file in a listener with "Attachment Created" Event? Thank you! Guido
I need to create a script using scriptrunner to bulk create the users, using the below but facing issues, import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.bc...
Hi there, with a ScriptRunner validator on the issue creation workflow transition, I’m trying to verify that the assignee belongs to a specific group (not to a role). I had no problems when t...
Hi! I want to create behaviour and I'm struggling with condition based on label field. Does anyone have an example how to use label field in behaviour condition. In my case if label field ...
...recisely trace the hierarchy of tasks within a large-scale Jira project. Meet the hosts at ScriptRunner Alexis Cornelio, Product Manager Romy Greenfield, Engineering Lead Reece Smith, P...
Hi Team, I need to copy the reporter from the source ticket to the target linked ticket. When creating a linked ticket through the "More" menu. For example, I have a project called "ABC...
I have "Countries" field that I want to fill based on the reporters group, either when work item is created or the value for reporter has changed and I have to do it with ScriptRunner due to the a...
...isible and in ReadOnly mode. I referred to this scriptrunner behavior example: https://www.scriptrunnerhq.com/help/example-scripts/make-fields-required-on-transition-for-user-groups-cloud h...
Hi all, I'm working on a Jira Behaviour using Scriptrunner, and I’m trying to set the value of a custom field based on an API response. The code runs without errors, and the condition is met (the c...
...s: Is there any option to globally replace all filters of “Epic” with “Feature” in the entire Jira system? Specifically, is there a ScriptRunner script that we can run in the console?
When I create a new issue, I would like to copy the description field from a template issue and put that description into the description field of the new issue, so it is displayed for the user on th...
Hello everyone, currently I am trying to create some reports with Scriptrunner, which seem not to be provided by Atlassian itself. I am trying to search all projects where a specific group h...
Dear Community, I got a ScriptRunner / Groovy issue. We moved from Windows servers to Linux servers. It seems that the ScriptRunner app isn't working correctly on Linux though. The issue is c...
...sing Scriptrunner Cloud Behavior in Jira cloud. Please provide a sample code of "changedField" logic when running On Change and On Load. It will a great help. Thanks
Hi, I have a bot a company and team managed Service Management projects and I want to hide some resolution codes, but my project is not showing up when I go to scriptrunner and behaviour &n...
How to make sure a ticket is only allowed to close with "Resolution = Duplicate" if there is one or more linked tickets of duplicate type? If there is no duplicate ticket linked, user should get an...
Can anyone please help on my ScriptRunner problem below? In the Jira Service Management Portal form, the customer provides the unique "Membership ID Number" (e.g. 01-ABC123). I would like for ScriptRunner...
I need to access json data that is stored in a Confluence page and use this in Scriptrunner for Jira cloud as a json map. When I try to access the api endpoint of Confluence for the page, I g...
For requirements of the "bug" issue type, users should not be able to move them to the "task" issue type. However, moving them to other issue types (such as "story") should be allowed. It would be e...
Hi, I need to remove space permissions for some specific groups. The current working code indicates that the removePermission() method in the SpacePermissionManager class is deprecated, and I'd li...
Copied to clipboard