Created Jul 13, 2022, Last active today
Hello community, I am currently facing a problem while configuring the somewhat "new" feature of Customer Notifications in Jira Service Desk. The default template contains a link to unsubscribe from...
Hi, I'm trying to use ScriptRunner to identify all non-Done issues with links to non-Done issues in external projects. So far, I have this. issueFunction in hasLinks() AND statusCategory...
I'm completely new to JIRA Script Runner. I tried doing the research to figure out how I can automate the addition of 15 subtasks upon parent issue creation, but could not get any code to work. ...
I'm trying to package some Groovy code to be used by a ScriptRunner script during a workflow. I've got a Script plugin configured which seems to be loaded and enabled, but I am unable to acces...
We have a request to copy values from two user picker fields to the Watcher filed whenever these fleds are updated. I have created a script listener which runs on issue update: import com.atlassian....
When Epic Link has some value, following validation is working, if the Epic Link is empty then validation is failing. We are validating against to the ('Linked Issues') -->Issue (multi select dro...
IS there a script that will allow me to automatically copy an attachment from the subtask to the parent when the attachment is uploaded to the subtask?
Hi There, The following groovy code works fine on a post function but doesn't on custom listener of "Assign" or "Update" event. import com.atlassian.jira.component.ComponentAccessor def custo...
Hi Team, We need JQL filter to get all task and their relevant sub-task with their statuses of particular project like this: ||MAIN ISSUE JIRA ID||STATUS||SUBTASK JIRA ID||STATUS |Col A1|Col A2|Co...
...ef cfMap = [:] cfMap.put(cf,Optional.of(true)) def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() def cloneVld = issueSvc.validateClone(currentUser, issue, i...
Script runner HTML field is displaying as plain text in Confluence(not rendering HTML).
Hello, We'd also like to see if we can create Rules around the reporter and stakeholder fields, i.e. if Reporter = a or b then Stakeholder = XYZ. This will save time in ticket creation and...
Trying to set a default Epic Link on Create using Scriptrunner Behavior // Behavior Server Side Script import com.atlassian.jira.component.ComponentAccessor if (getActionName() == "Create") { ret...
I have a behavior that is not working - // Behavior Server Side Script import com.atlassian.jira.component.ComponentAccessor if (getActionName() == "Create") { return // not the ini...
Hi, When I edit and update an issue, the initializer is ran multiple times. It is not convenient as I conditionnally display a warning message. The initializer is us usually around 5 times (sometime...
I need assistance in creating a scripted field using Scriptrunner to count the number of sprints that an Issue is in. Can anyone help with the Groovy script or have any example of something sim...
Hi I am hoping for the escalation server to be able to capture data once the event listener is triggered, so that i can then use this data to write a bulk email of all issues without an Esti...
So I’ve come close but no cigar. I could really use some help with the scripted field. I have an issue type called project budget. In this issue type is a number field Called budget and another scrip...
HI, I wont to copy sla due into scripted custom field, how i can do it?
I am trying to configure a rest endpoint in JIRA that will make a GET call to an external rest API for a list of selectable options (retailers). I will then use a behaviour to populate a custom field...
Hi, It seems that in the initialiser function behaviours cannot evaluate any field on view screen. i.e. something like def field = getFieldById("customfield_12345") returns null. Which prev...
Hi, I want to add a validation when creating an issue, the definition is to check one field (called ‘Found In’) which is a Select List (single choice) custom field, and if the value in it is A or B ...
Hello together, can an issue picker be made with script runner? I´m looking for a way to script something like the following plugin: https://marketplace.atlassian.com/plugins...
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...
I see there few issues removed from the sprint and i m unable to find when i use previousprint() function using the scriptrunner I have to generate the report for multiple teams.Let me know ...
App Central is your space to connect, share, and learn about Marketplace, third-party, and custom apps. Whether you build or use them, this is where the discussion happens. Marketplace Partners: be sure to check our Atlassian Partners - Rules of Engagement and Partner Processes and Best Practices before posting.
Copied to clipboard