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 ...
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...
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...
Hello, In ScriptRunner Fields I created Custom Script Field with User Picker (single user) template. Field just returnes the user from the other field: def user = issue.getCustomFieldValue("C...
Hi Community, I want to show/ hide 3 custom fields (Text type, Select List (single choice) type, and checkbox type) based on another Checkbox field options on Issue View screen - using Scriptrunner...
Hi Community, How we can show/ hide Message Type custom field on Issue View screen based on Workflow Status and User Groups using Scriptrunner Cloud Behavior? Please provide a sample code as it w...
I am trying to use a Listener in scriptrunner to send an email to members of an admin group (abc-admin) when a user is added to a another group (abc-users). I user Jira Data Center v. 10.x I found t...
...or ScriptRunner, but I don't think it addresses my scenario. Are there any other options to achieve this?
...sers are idle, do not have assigned tasks on them. I run this script in Scriptrunner console to find these users. Now I need to somehow show this output in Dashboards, so Scrum team c...
I am new to ScriptRunner Behaviors in Cloud. I want to see if there is a way to set a form message on a custom field, like I was able to do DC version of Behaviors. The setError method is r...
Copied to clipboard