Hey, I getting error performing upgrade from 6.3.15 to 7.2 log describe bellow. I arlady try remove index cache and remove plugin cache also disable plugin what could make problem ( leave only scrip...
I want to use a custom script as a scriptrunner transition post function to set the assignee based on the value of a custom user field ("Implemented by"): import com.atlassian.jira.component.Compone...
Hi Does anybody know how to get the project value from this screen in scriptrunner/behaviour scripts? 2016-11-16_14-15-52.png Thank-you, Cynthia
Hi all, I am trying to create a custom field that will calculate "Overdue days" based on this calculation:(Todays Date - SLA Date ). SLA Date is already a custom field that we have set u...
This is pretty much the exact question here: https://answers.atlassian.com/questions/18812102 The problem is that the answer given there is wrong, as is mentioned by the initial poster. check...
Hi all! I need to filter the issues where last comment author is user in custom field (i.e. tempCF). the issueFunction in commented("by user") is working with the user ID. How can I use...
Below is my requirement. Let me know how can we achieve this. Parent Issue has 3 sub-tasks say A,B,C. A,B follows workflow (Open --> In Progress --> Resolved) C follows workflow (Open -->...
I am creating a very waterfall-ish workflow. I know what happens at every step of the way and how long (roughly) it's going to take. I need to create 3 issues at a certain point of the workflow (clo...
hi there. have a ScriptRunner v.4.3.4 and JIRA 7.1.0. the task is to create a scheduled issues, one per week via Services. I tried the code below, import com.atlassian.jira.compone...
I would like to add a custom field named "Case" that will be a hyperlink as follow "Case" <number> as http://mwz/<case Number> the user will be able to add only case number ...
Hello! I am trying to make my custom field mandatory on transition if issue has not link type "included in the package". There is my code: def xlink = issueLinkManager.getOutwardLinks(issue.getId(...
I am trying to limit the user's input into Fix Version/s to only one value. I can do this easily in a validator as part of the workflow using ScriptRunner, but I'm having a lot of trouble even coming...
The canned scriptrunner send email post function is great. The problem I am facing is when issues contain multiple attachments which end up adding up to be greater then the total size that the email...
JIRA 7.1.9 ScriptRunner 4.3.9 I noticed there is a (new?) canned script called 'Configuration Exporter', and as moving configuration between instances is always a hot-topic I wanted to explore what...
Hi Epic-1 -->task1–>Subtask1 in the above with the help of script runner, i am cloning the subtask1 and creating a new task task2 in one of the transitions. For the task2 i want to set...
Hi, I set up a "send custom email script" post function via script runner and I would like to add the sender's email address in the signature of the email. the sender refers to a user picker custom...
Hi, I use Script Runner's postfunction to create some sub-tasks during a transition. Is there a way to set new individual labels to a few of the sub-tasks? I tried "issue.label = somelabel;"...
Hello I created my own script runner listener that updates some custom fields from worklog. I have to add this listener as groovy class, since I have to put this listener in 6.2.5 version of JIRA (...
HI there! I use groovy script runner v. 3.1.4 Goal: need to check all the sub-task type "Approval Item" must have resolution type "Complete". Currently i try with this: issue....
I have been fiddling around with Script Runner for a few hours and cant seem to get a grasp on how to get values from a parent object when creating a sub-task (during creation or post function). I ju...
JIRA 6.3.13 ScriptRunner 4.1.3.4 I have a script which is running on a transition in our Helpdesk (HD) project that tries to transition the status of a linked issue in our Windows Server Support Te...
Hi guys, I am trying to develop a groovy script (post function) which add a value in Components part of a Project. I have the following error : No signature of method: com.atlassian.ji...
This script which I got from: https://scriptrunner.adaptavist.com/latest/jira/plugins/working-with-tempo.html, is supposed to automatically add to a worklog when an issue is transitioned to out ...
I am trying to pull only certain worklogs for a certain issue based on the date the worklog was created. I am using the PDF View Plugin to create a report and I need to get an issue's worklogs. Belo...
@Nic Brough / @Jamie Echlin [Adaptavist] Is it possible to conditionally set the color of a field on the Issue VIEW screen? I was thinking something along the lines of: def securityFiel...