Created Jul 13, 2022, Last active today
...ateFormatter.format(issue.dueDate) Calendar newDueDate = Calendar.getInstance() newDueDate.setTimeInMillis(issue.dueDate.time) boolean update = true switch (value){ case "Bi-Weekly": newDueDate.add(C...
Im looking for some help creating a REST API script to clone projects that also use schemes from plugins. Im using "Smart attachments" and "Field Security Plugin" which both use schemes in the projec...
Hello, We have a custom field - "Deployed in Environment" which is checkbox field with multiple options (Dev, Test, Stage, Prod). We have corresponding date fields to capture deployment dates f...
Hello everyone. I'm trying to create a script in a "create" postfunction to get an userpicker customfield value and with that value fill the assignee field. import com.atlassian.jira.co...
Is there some way with GroovyScripting (ScriptRunner) add your your own ChangeHistoryItems to activity-history section. I've tried to search for ChangeHistoryManager and classe...
I installed the trial version of team calendars and can successfully create a personal one. However, when I attempt to create a Team Calendar in our space, I get an error, Page Not Found - the page d...
Version of JIRA -7.3.3 & version of ScriptRunner -5.0.14 Description I am going through documentation on canned comments for Service desk https://scriptrunner.adaptavist.com/5.0.1...
In confluence from Team Calendar how to export Calendar with custom "Even Types"
...nHold") { pmoSprintStatus = "Active" } } if (pmoSprintStatus != "") { put("/rest/api/2/issue/${issue.key}") .queryString("overrideScreenSecurity", true) .header('Content-Type', 'application/j...
Hi I was wondering if it's possible to get the full URL for the JIRA create issue page from inside Scriptrunner. At the moment I'm able to get the jira.base url from the ApplicationProper...
I am working on a web panel using Script Runner. I have the content I want in the panel from a number of custom fields, now I am trying to determine how to properly render those fields. When I use: ...
I am not a programmer but trying to put code in the plugin JIRA Misc Custom Fields to find all the issue that matches the custom field .....and return the count so if the value is greater than...
Hi All, I am trying to connect SQL server database through groovy script. The script I am trying in Groovy's "Script Console". Everytime I'm getting null value error. Following is the code I...
Dears, I am using scriptunner behaviors to update the value of a field, but this new value is not showing. The fieldtypes I am trying to update are: User Picker (multiple users) Insight Object (...
Hello all, I need to set the security level based on the value in a custom field. I'm able to get the correct schemaId, but can't get the line issue.setSecurityLevelId(10108) to actually work. ...
I just installed the new trila server version of Jira and installed the new version of Portfolio and I get this error message. Version:1.0 StartHTML:000000212 EndHTML:000025289 StartFragment:0000248...
When a first time user opens the main home page there is a section divider on the left side. I am having to explain to users to click and drag the bar to the left to maximize the page. How can I conf...
Hi there I am using JIRA Suite Utilities to perform a post-function on a transition. When an assignee transitions a ticket to the next workflow, I would like to email the asignee with a short m...
...lse ( return true ) I am using the Simple Script Validator. Does anybody have any pointers?
Hi guys, Im baffled - can @JamieA help at all? Ive created a script runner listener that monitors the "UserCreatedEvent" and the purpose of the script is to remove the user from the "Service D...
I am trying to write a script that will talk to the Autotask API and I'm using the Script Console to test on. When I run I am hitting this error: javax.xml.stream.FactoryConfigurationError: P...
...f2 = getFieldByName("CheckBox") def cf1Val = cf1.getValue().toString() cf2.setHidden(true) def customField = customFieldManager.getCustomFieldObject(cf2.getFieldId()) def config = c...
Hello, I am looking for a way to popup a dialog box when certain locations are selected using an nFeed field. The nfeed field is pulling from a CRM database and we have a list of locations that are ...
Hello, I would like to know if there is a way to deactivate a user using scriptrunner and pass username via the rest endpoint ? Something like: jiraBaseURL/rest/scriptrunner/latest/custo...
Hello, I'm trying to copy the values of a few fields in JIRA Cloud, using a ScriptRunner workflow post function. I got the following code to work to copy Story Points to a customfield: def re...
App Central is all about the many magical apps and Powerups that help make Atlassian products even better. Partners, please read Atlassian Partners - Rules of Engagement and Partner Processes and Best Practices.
Copied to clipboard