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.
×Should we continue investing in Groovy and ScriptRunner, given the availability of Atlassian Automation and Forge?
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...
Hi all, Is it possible to add a validator to a workflow transition using a groovy script (for example, a custom REST endpoint)? I can add the validator in the workflow editor as shown in the s...
...vercome this so that tickets are automatically closed by duration date in post function groovy script JMWE ? example: 30 days if no one is running the transition, the ticket will be a...
Hello Atlassian Community, We are in an age where technical prowess has become indispensable in the job market, and in the realm of Atlassian products, the ability to write Groovy scripts has e...
....jira.component.ComponentAccessor import groovy.transform.BaseScript import com.atlassian.jira.ComponentAccessor import com.onresolve.jira.groovy.user.FieldBehaviours import com.onresolve.jira...
....jira.issue.MutableIssue import java.lang.management.ManagementFactory import java.lang.management.MemoryMXBean import java.lang.management.MemoryUsage import groovy.transform.Field import s...
This is more of a java/groovy thing but I always assumed keys to a map were unique (in terms of .equals()). I found instances where I had duplicates and put together a test in the scriptrunner groovy...
Hi All, I am not able update deployment plan in Bamboo using rest api . I am trying below script in script runner . facing error 400. import groovyx.net.http.ContentType import groovyx.net.http....
...ollowing is my behaviour script. Thank you for your help. import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript FieldBehaviours f...
HI y'all, I've written an article on how to create a scripted validator that checks user's role in tandem with a threshold value from an issue. It addresses the use cases when, say, you want to allo...
Hi all, Sometimes you need to run your Groovy script as another user, for example some admin user with needed permissions. This code can be rather verbose because you need get target user, get c...
We are running a live-coding webinar on Groovy scripting for ScriptRunner on 14 January at 4pm GMT/11am EST: http://bit.ly/groovy_scripting_webinar What you’ll learn: An approach to querying u...
Assignment history is extremely important to my customer. For some obvious transparency and traceability reasons this is something they want to be able to track. In the past, I've created various "po...
Hi! It is interesting - how do you get rid of long and verbose Jira Java API calls using Groovy tricks? As for me, i've found rather elegant way (besides making regular helper classes) to use Groovy...
I have a URL custom field and a text custom field. if someone pastes a URL in the URL custom field it should execute that URL and show the JSON response of that URL in another custom field.is it poss...
...mport groovy.transform.Field @Field List awe = [1, 2, 3] def awesum() { awe.sum() } assert awesum() == 6 does pretty much the same as method one, just more elegantly I think 3. Own h...
Envolved with well-marked process with many teams and integrates tasks, my team had the necessity of some automations to facilitate and speed up the comunication and daily work on Jira Cloud Pla...
A script to add on Jira Script Runner "Script Listener" with method "Issue Updated" to send automatically a message on Slack when a attachment is add on task to user with identifier on task label I ...
...f the plug-in can affect system performance For balance I write drawbacks of the my scripts: Needed to know the groovy It has middle speed. Because UI not very fast for delete one board needed u...
Hi @All here !! How get part of orphaned boards Groovy script for ScriptRunner which help retrieve a list of orphaned boards. What mean orphaned boards? After deleting old p...
...ource code: https://git.andrewsite.ru/blob/JiraGebAuto.git/master/JiraGebAuto.groovy I also added project deletion methods to the script, be careful! Use it only if you know groovy. I hope t...
Hello, I'm trying to attach a file created on the server during an execution of a Groovy Script. However, the compiler is unable to resolve the class. I even tried to to save anyways and execute t...
...ollowing groovy post-function script to do what I've described above. I'm posting here for two reasons: First, I wish I had this kind of sample code when I was putting my own script t...
Hi, I wanted to check the linking issue has a correct custom field value. i.e. I have custom field 'Feature Type' and values "Product Feature" and "Technical Feature" on the linking issue and...
Copied to clipboard