Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


30%
Section
Column
width
600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column



Features used to implement the example



Example: Set priority for issues that have been in a certain status for longer than 24 hours

I'm going to answer publicly to a question I have receiver by private email but that may be of interest for all users of the plugin. The question is:

How can I set priority to "Blocker" for issues in status "In Progress" for longer than 1 day?


We are going to do it in two steps:

We use post-function Copy parsed text to a field to set virtual field "Ephemeral string 1" with the name of the priority we want to use:


We use post-function Update issue fields to set virtual field "Priority" with the value stored in "Ephemeral string 1" in all issues returned by the following JQL query:
status = "In Progress" and status was "In Progress" before -1d



Once configured, the transition configuration will look like this:




Other examples of that functions

Update issue fields

Incoming Links
pageUpdate issue fields
labelsexample



Copy parsed text to a field

Incoming Links
pageCopy parsed text to a field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "post-function"