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 might find the site temporarily inaccessible. Thanks for your patience. Read more.
×Please bear with me - I am very new to groovy and haven't coded anything in years.... We have two custom dropdown fields (Technical Certainty and Definition Certainty), where users can select “H...
Hi! I'm trying to retrieve users who's account is active, but who either haven't logged in for 90 days, or who's never logged in. With the script below i get users as expected based on ...
...xample script to reproduce the issue: import com.onresolve.scriptrunner.runner.rest.common.CustomEndpointDelegate import groovy.transform.BaseScript import javax.ws.rs.core.MultivaluedMap import groovy...
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...
...as. Methods for Teams: Overview (Portfolio 2 / Common Public API 9.12.0 API) REST API (where you also can see the data structure for better understanding how to use methods): Advanced R...
Hello everyone, I spent a lot of time trying to figure out how to work with the Team field of the Advanced Roadmap plugin, so I share here some useful info. Methods for the Team: https://doc...
Hi Team, usually, I would go to the list of workflows page next click on View workflow next click on export as XML Is there any way to bulk this operation for all workflows?
I am looking to populate a scripted field with the number of stories resolved vs. the total number of stories so I can show on a Kanban Card (see image). The code I have works but I am only abl...
I want to execute the below bahaviour script in my form.There is no error in the script, but it does not work on the form. Also this shows type error when I copy the code in console tab.I amusing sc...
....jira.issue.fields.ComponentsField import com.atlassian.jira.component.ComponentAccessor import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript F...
Hi! Did someone ever manage to use QueryDslAccessor properly? I have a custom REST endpoint with scriptrunner in Jira to import issues from another system. A step I'm missing is to alter the up...
Please help in resolving the Static type checking error when configuring a Scripted Field using Scriptrunner in JIRA Cloud as detailed description is mentioned here: https://community.atlassian.com/...
Hi Community, In Jira Cloud, I have two custom fields: Compliance and Audit (Select List - single choice). I have created two Text Fields (single line): Risk Score and Risk Level which will b...
Hi Community, I want help on how to write the same scripted field groovy code using scriptrunner in JIRA Cloud as it is written in JIRA Data Center successfully. I have two scripted fields in J...
Hi Community, I am creating a behavior in Jira Cloud using scriptrunner, where I want to set a default value in Summary and Description fields on Create transition. Please find the below code: con...
Hi Community, I am creating a behavior in Jira Cloud using scriptrunner. I want to hide a custom field based on workflow status using scriptrunner cloud behaviors: For example: custom field as "Se...
Hi all, We are using scriptrunner for Jira data center and we have just started to use issue security schemes for all projects and issue types, but we would like to "hide" the security level from n...
Should we continue investing in Groovy and ScriptRunner, given the availability of Atlassian Automation and Forge?
HI Community, I have created a Global Jira Automation Rule, where I want to transition the Parent (Initiative) to Prioritized/ Not-Prioritized status automatically based on Children (Portfolio Epic)...
...m passing groovy script relatedIssue.portfolioChildIssues Which gives me the Array List of all child issues linked to the Parent. I also want to see what is the Current Status of those C...
Hi folks, I'm looking for help in tracing an old Groovy script that predates our current change control processes. The goal is to determine if the script is still in use. Is there any suggestion o...
Hi all, I am trying to modify the sprint end date for some conditions. For testing purposes, I want to set it to the current date, but it does not appear to be changed at all. Manually changing is ...
Hi, i want to set new custom field by older values. i am using function below, issue.update { setCustomFieldValue("newcustomfield", "new value") } is there any way to make this update operation w...
...qlQueryFunction { /** * Modify this query as appropriate. * * See {@link java.text.MessageFormat} for details */ public static final String TEMPLATE_QUERY = "issueFunction in l...
Hello, I am trying to create a ScriptRunner post-function where I send the attachment in a ticket to a REST service via POST. According to the documentation of this service, I need t...
Copied to clipboard