Usually we want to create automatically subtasks in a transition and sometimes with a specific label. We use usually the plugin Adaptavist Scriptrunner in Jira Server to do tasks like this. Just creating a Postfunction in the Workflow. We can use the “Create Sub-task” script Postfunction with the usual parameters… In the “additional issue…
Read MoreHow to parse dates and links from the Jira description field using Groovy
Imagine, you have a Jira project where your users create tickets with a “fixed” structured text in the description field. And we want to parse the fields and place it the values in real custom fields (for example, we want to do or execute this in a Workflow transition). Example of description field with structured…
Read MoreHeeeeelp. In my Jira I cannot edit resolution field…..
…. and now we explain what happen and how solve or which workaround we can apply ;). Scenarios Sometimes we forgot change Resolution field when we close the issue and, after, we wanna change it with the correct value BUT we cannot do this. As shown in following GIF: We can change Fix Version/s field…
Read MoreAbout Notification in Jira
In this post we will discuss about Notifications. We will see how we can manage and than how can extent the management 😉 Let’s go 😉 Out-of-the-box Out-of-the-box Jira have: Standard Notification Scheme codename SPAMMER 😛 , because send email for all events First of all, identify all situations where user need an email ping.…
Read MoreRecurring Tasks in Jira using a Groovy PostFunction
This “Groovy” trick for Jira allows us to create Jira issues automatically and repeatedly on demand! For the example, we will edit a Workflow and we will add a new Transition of type Recursive ( from All to Itself). And we name the Transition as “Clone issue and Linked Issues“. (NOTE: Remember after this to…
Read MoreHow to create a new subtask when other subtask is done or resolved in Jira
Sometimes we need to raise new subtasks when other subtasks are finished. In this example we explain how we can do this in Jira using the famous plugin Adaptavist Scriptruner. The trigger of the action is the “transition”: when someone moves a subtask from one status to another. In this case, from “IN PROGRESS” to…
Read MoreJira Groovy PostFunction to send a mail with the description content of the issue in HTML
Very useful Jira Groovy Postfunction to send a fixed mail with the description content of the issue using HTML. Very nice and pretty mails =) See attached code: By MrAddon
Read MoreJira Groovy script to set the Component field
Very useful example to set the System Component field in an issue using Groovy in a PostFunction.
Read MoreJira Groovy Postfunction example to set Tempo Team and Tempo Account fields.
It’s difficult to work with Groovy and Tempo fields, because we need to use always the REST interface to work with them (Tempo Team customfield and Tempo Account customfield). Here we can see an example of how to set these customfields using scripting in a PostFunction created in groovy (with the plugin Adaptavist Scriptrunner). In the…
Read MoreJIRA Groovy Script to Transition issues from a JQL query using the Transition name and not the Transition ID
Sometimes we need to transition issues from one status to other, but these issues can be from different projects and can be from different Workflows. In this case, probably the Transition IDs will be different. For this reason we need to develop a “discover transition” function. See below an example of how we can start…
Read MoreHow to transition linked issues in JIRA with Groovy (Scriptrunner)
Fantastic post of Fabio Genovese with a magic demonstration of the power of Jira with Scriptrunner. —> SEE THE FANTASTIC POST <—
Read MoreNew Groovy PostFunction Transition Linked Issue in STATUS X
This is the example code for a PostFunction to transition a linked Issue in status X to another status of the workflow. Very easy with Adaptavist Scriptrunner. See this code.
Read More