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.
×Suppose I have three projects: A, B, and C, with a hierarchy as follows: A -> B -> C. All these projects are linked to each other by linked issues: A is linked to B with a "rela...
Hi, I am trying to edit several hundreds of Kanban Board quick filters to reflect changed values. I am using the below code and get until I can actually update the filter. However, the update is fa...
We have the below script currently used in the JWT plug-in that we need to change to a postfunction in Groovy, ScriptRunner or Project Automation. Any suggestions are appreciated: C...
Hi Community, I am trying to create a Behaviour script to not allow the users to add additional values in a custom label field. When the user creates a ticket, it shows three suggestions: Teams, Ema...
I have a function that transitions issues: static def updateIssueStatus(Issue issue, ApplicationUser user, int actionID, String statusID="", String resolutionID="") { IssueInputParameters issue...
Hi together, i would like to trigger a groovy script in bitbucket when a build state is set to success or failure, but i found no event to react on at scriptrunner listener --> custom l...
Using Jira server, I have created a custom field that requires a groovy script to calculate duration. Using that field I want to get a time in status for tickets in a jira project, let's say p...
...ithin the transition screen, the value always defaults to "null". import com.onresolve.jira.groovy.user.FieldBehaviours import com.onresolve.jira.groovy.user.FormField import groovy.transform...
...omeone please help? import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript FieldBehaviours fieldBehaviours def selectBrandsField = g...
I wanted to limit the list of issues to only those with link type "Epic-Story Link" using the "collect" command. I used this code: def issueLinkManager = ComponentAccessor.getI...
Dear colleagues, Please advise the best courses to take about Scriptrunner and Groovy for Jira Administrators. Also, another course, that will help to automate different things in Jira. Thank y...
Hi, I'm writing a script for a behavior in the creation of a ticket. This script reads the attributes of an Assets object and writes them to custom fields of the creation screan of the ticket, one of...
I am a Jira Admin and I am trying to add users to project roles using Groovy Script But it is throwing an error Null Pointer Exception on addActorsToProjectRole, eventhough all the inputs have v...
...loud allows you to create your own custom macros on Cloud, much like the User Macros feature on Server. You can script any static macro you like using Groovy. However one of the key pieces to u...
...ield B) has the value of "A") Here is my code so far: import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript import java.util.Date.* @BaseScript F...
...ubtask. So far I have this code: import com.atlassian.jira.component.ComponentAccessor import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript F...
...earn how to create it yourself using Groovy and ScriptRunner. It’s a lot faster and easier than buillding a custom app, guaranteed! Watch this on-demand webinar to get the inside scoop o...
Hi Atlassian Community! If you’re a fan of Groovy like me, you should join our next free webinar by Exalate. I’m hosting this webinar where I will set up a Jira integration - with other ITSM t...
...o a new status, the postaction script path should have been executed but it gave me FileNotFound Exception instead. Error : orkflowFunction] Error in groovy script: j...
...bsp; //Import helper functions File helperFunctionsFile = new File("/var/application-data/jira/postaction/HelperFunctions.groovy"); Class helperFunctionsgroovyClass = new GroovyClassLoader(g...
...RROR [runner.AbstractScriptListener]: Script function failed on event: com.atlassian.jira.event.issue.IssueEvent, file: null groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira...
I am trying to write a script that will run on issue creation that will do the following for a specific field - we will call it Field 1, which is a Text Field, Single Line: read the data value bein...
Hi, We're trying to fill in in an Insight custom field, based on an outbound reference of an object selected in another Insight custom field. We have two object types AB...
...ava.lang.IllegalArgumentException at aabbcc112233ddeeff445566gghh778.run(aabbcc112233ddeeff445566gghh778.groovy:23) Here is the script. import groovy.transform.BaseScript import com.onresolve.jira...
....servicedesk.api.user.UserFactory import com.atlassian.jira.event.issue.IssueEventBundleFactory import groovy.util.logging.Log4j import java.util.regex.Matcher import java.util.regex.Pattern @L...
Copied to clipboard