Created Jul 13, 2022, Last active today
I have the below script to update a multi-user custom field in a post function. import com.atlassian.jira.user.ApplicationUsers import com.atlassian.jira.component.ComponentAccessor import com.atl...
I can achieve it via REST API easily. try to find some code sample about scriptrunner: 1. create a pull request between two branch, 2. add approver and comment 3. then approved it
I thought it was possible using scripted fields but I might be mistaken. We have a list of over 500 system titles and instead of the longest drop down we would like to use the Employee Name Pi...
Hello All, we have two workflows for two issue types. Task to is to created two sub tasks when a parent issue got created based on custom feild selection. I have added the below code in the Script ...
...roperties, true) } } finally { jiraAuthenticationContext.setLoggedInUser(originalUser) } }
I have about 100 users I would like to bulk adding them to a group, can I use Script Console in Scriptrunner? I'm new at scriptrunner, please advise. Thanks, John
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
Hi, I have problem with setting new email to user in Confluence by groovy. Documentation says that class com.atlassian.user.User have method setEmail(String email), but Script Console in Confluence...
Profields is an amazing tool to expand Jira's core capabilities into the realm of project management, as I've already explained somewhere else in the community. Although less known, benefits also ext...
I have a single line text field which has the Scriptrunner Select List Conversion to MultiSelect with a connected REST end point to it in the init script of a behaviour. In another behavior I'm tryi...
Environment - Adaptavist ScriptRunner v5.3.5 with JIRA v 7.4.4 Using the "Clones an issue" Script Post Function, one of the actions is to assign the issues to specific JIRA accounts using: issue.a...
I want to automatically assign a specific user (by using its username) based on the user group of the person creating the issue. Therefore, I set up the following script by using Scriptrunner postfu...
...****************************************************************4" ); connection.requestMethod = "POST"; connection.doOutput = true; connection.setRequestProperty("Content-Type", "application/json;charset=UTF-8"); c...
Hi, We would like to implement a Script Listener to notify (via email) a group of users whenever a Version is released. The only REST API call i found in the official document is : Send notificatio...
Hi All, Can someone help me with custom validator (scriptrunner). I need to make the attachment system field mandatory when the value of radio. Here's the code that I am using: import com.a...
The tables which appear in the issues create screen are displayed as markup (not as tables). See attached picture. its looking like this it should look like tabl...
I have a behavior that prefills the description on create of issue based on the scriptrunner documentation If the user (on create screen) selects the pre-filled text (in visual mode) then dele...
...Luckily, with the help of InTenso (now Deviniti), Jira and I moved past the rough patch in our relationship. Now Jira could finally enter into a true p...
Hello @Jenna Davis, Here is the behaviour script file and error. I have this file in a jar file and deployed the jar as addon in jira. import com.atlassian.jira.component.ComponentAccessor import ...
We are tying to create a listener on VersionCreate. The listener will check if the version matches a particular pattern and execute some steps. here is the code: import com.atlassian.jira.comp...
...ustomFieldValue = issue.getCustomFieldValue(customField) mutableParentIssue.setCustomFieldValue(customField, customFieldValue) } } //updating the parent issue only if condition is true if(m...
Hello everyone. I beg for your help. I am not a programmer but I want learn something :) I need add request participiant to a new ticket based on custom field, which will be filled by customer from ...
Hello, I wrote a script in 'REST Endpoint' and 'script fragments' that calls a transition by clicking a button. The screen of this transition didn't pop-up but the transition itself happened. I ne...
Love Apptually** 📱💝 I love using JIRA. 💻💖 I love using Confluence. 📃💘 But MarketPlace, like a dagger, is deceitful, sinful, corrupt, and makes me frail and a fraud. ...
It only runs when the user clicks on one of the checkboxes, then the list instantiates. I'll go grab my other PC and paste in the code. Has anybody run across this? Just curious.
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