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.
×...600; Hi! I've created JMCF duration field and used groovy formula to estimate amount of time spent during current week. When testing the formula in field configuration everything works fine, but on i...
I have two date and time fields start date and end date, when user trying to edit date fields if end date is less than start date should throw an error, if start date is empty then it should clear th...
Where can I find the list of commands for each of the Scriptrunner modules for basic tasks, such as: * Get the Value of a Custom Field * Set the Value of a Custom Field * Show a Custom Field * Hi...
I want to run a script each time Jira starts. I can't seem to find a "Jira just started" event but it there another event that reliably runs on startup ?
I am trying to set replace group permissions on all pages from "confluence-k-m" to "confluence-v-m" with sciptrunner. script: import com.atlassian.confluence.pages.PageManage...
Hello everyone, I'm try to create a "simple validation script" using ScriptRunner which validates that 2+ attachments have been added to a creation screen IF the customfield "request type" = "Urgen...
...ethod: com.riadalabs.jira.plugins.insight.services.model.MutableObjectAttributeBean.setTextValue() is applicable for argument types: (java.lang.String) values: [High] groovy.lang.MissingMethodException: N...
Hi Community, I have a typical requirement, where I want to show/ hide the custom fields based on the Message Type field in Issue Edit Screen in JIRA data center. Existing configuration: I have c...
Requirement: when i create a issue without any Original estimate i want to display warning there. user may choose to ignore the warning and create a ticket and that is ok. it should not stop user fro...
I remember reading somewhere (I have no idea where) that HAPI did not work in a groovy script launched in asset automation. I haven't seen anything about it in the documentation and I wanted to c...
Hi, I am trying to create a Rest endpoint using Groovy Scriptrunner in Jira and need help. my requirement: EX: jql: project = "XYZ" field value : version=2.5 when i run my Endpoint w...
Hi. I need to use in a condition a script that detect the current project. I don't have a specific reference issue to get the project, cause I need to check in filters and panels screens to. Is ...
....component.ComponentAccessor import com.atlassian.jira.project.Project import groovy.xml.MarkupBuilder def projectManager = ComponentAccessor.projectManager def issueTypeScreenSchemeManager = C...
...ith So far we have the script below, but it's not working. Can anyone point us in the correct direction? import com.atlassian.jira.component.ComponentAccessor import groovy.xml...
Hi dear community, I have encountered a bug, where, if I access a custom field using issue.getCustomFieldValue in a Validator, I will get a NULL value for calling the same in a post-funct...
...o start date. here is my behavior server-side script import java.text.SimpleDateFormat import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript F...
Hi all, We are trying to figure out how to create a scriptrunner listener for our Jira Data-Center instance which will add a user to our "deactivated-users" user group when they are removed from th...
Hi all, We are trying to figure out a way to pull all users within multiple groups, and display their details via the scriptrunner console. Example: User 1 - Name, Email, All groups ...
We have 10 projects and we want them to have a scriptrunner job every day to synchronize all users with their project roles so it would be same. I tried to write a script but it did not work for us. ...
Hi, I am creating some linked stories when an Epic is created via a post function in the workflow. Here is the iterator section, [ [summary: "Core Midpoint Diagram Review", description: "Core Midp...
Hi all, I'm trying to create a behavior where I set values within a specific field based on which project is active within the "Create" screen. How would I do this? Currently, I've tried the fo...
...n specific status. Script runner version: 8.29.0. I have already created the path to store the file path is: com/onresolve/jira/groovy/jql. in scripteditor. Current Facing Issue: 1) I am facing i...
According to: https://community.atlassian.com/t5/Jira-questions/Update-System-Field-Without-Updating-History/qaq-p/1745173 the thing to use is: CustomField.updateValue As in: h...
...entences. The can’t-miss features: Autocompletions that read your mind Groovy: Whether Groovy is your playground or uncharted territory, the new autocomplete is like your personal o...
I am trying initially to use Scriptrunner hapi to create an issue with a proforma form attached, I am happy to not use HAPI if theres no option but i want to create a JSM ticket with a pre-created Pr...
Copied to clipboard