Created Jul 13, 2022, Last active today
...ssueInputParametersImpl() def issueService = ComponentAccessor.getIssueService() issueInputParameters.setPriorityId(idPriorityLoIssue.toString()) issueInputParameters.setSkipScreenCheck(true...
Hello everyone, The scenario is the following one: I have a parent issue with 2 subtasks (sub1 and sub2), and I need sub2 cannot transition to "In progress" until sub1 is in Resolved status. To ach...
Hello, I am trying to write a fast track based off of two conditions. There are two seperate fast track post functions in the transition. Based off of the selections the ticket is meant to take a di...
...eporter is: " + reporter) if (author==reporter) { //log.warn("author=reporter") // if this is closed, then we send an email to the customer and return true if (["Closed"].contains(s...
I have a custom scripted field using Scriptrunner that returns the "Planned Fix Version" for a JIRA epic. In order to do this, I have to traverse the ChangeHistory for the issue, and the change...
I have a cascading list where I want to clear any selection when changing another field. How do I clear (set to "None") a cascading list?
I'm trying to transit parent issue when post function of sub-task below is code of post function of sub-task import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.b...
"Your most unhappy customers are your greatest source of learning," Bill Gates once said. However, to learn our lesson, we need to know what went wrong during a customer's experience with our product...
...ookingManagerRequired = fieldIsBMTheLM.getValue(); if (bookingManagerRequired == "No") { //No fieldBookingManager.setHidden(false) } else { fieldBookingManager.setHidden(true) } Many t...
Hi All, I'm trying to show an info message on Create Issue Screen using Script Fragment by Scriptrunner. Can someone lead me an example on how to do it? I didn't see anything on the Scriptrunner for...
Hello Everyone! I´m using the Create Page for ScriptRunner Confluence macro. I would like to automatically link any sub pages I create using the macro to the original page. For ex...
When I click on Script Fragments, I get a large red error box that just says "An error occurred!" Just installed scriptrunning on cloud account, trying to test to see if it does what we need - ...
...omponentAccessor.getCustomFieldManager() def cField = getFieldById("customfield_12345") if (Issue.getStatus() == "TOTO"){ cField.setHidden(true) } else { cField.setHidden(false) } But in does not work. I have configure the b...
Hello! I'm trying to parse a confluence page to get all user mentioned on it (with @username). But when i'm getting page body with getBodyAsString(), in places where user mentioned i...
...f keywords and destination projects. While moving an issue is not part of the public Java API for Jira, I would like to create the clone of the issue into the destination project and "simulate" the m...
We have about 50 users. How can I make sure everyone is receiving notifications when a question is asked?
I need to run below code in jira could u help me Mehran N: curl -XPOST "http://my url/nagiosxi/api/v1/config/host?apikey=Kdqf3WndXcDN5rJ8u8MhMfVapJabKK6KXvfgMVsJ86NsQsDkTlVVU75DQv5QvaRs&p...
I have a custom listener sending a large amount of notifications for specific workflow events. Not all emails are going out. I am receiving a 452 4.5.3 Too many recipients error. ...
...he same request with the same headers, body etc. in the code - I get a 403 error. That's the code I'm using: public static void sendPOST(String testKey, String status) throws IOException { S...
When I trigger a workflow transition,a screen pops up.How to use scriptrunner or groovy to dynamically generate the checkbox of the assigeners in this screen according to the current issue and all th...
I have a custom field of type project picker and i want to get the value selected, here my code import com.atlassian.jira.issue.Issue; import com.atlassian.jira.issue.fields.Cust...
Hi there! I'm trying to get an active sprint name from a given board in the post-function and write a sprint name to a custom field. Here is the script that I use in the post-function: impor...
Hi everyone! I can't find issue log's while using Extend generator in Structure plugin. When i linked issues manually using issue links ('Add link' button) this event logged in the H...
I want help with script listener to update parent task multiple select list field when the same gets updated in its subtask. It should not remove the existing value but add to it if a new value is up...
Hello: I have 5 line items in a checkbox field and would like to hit a transition and during the post, to check one of the line items. E.g.,: Item a Item b Item c During Transition I want...
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