Versions Compared

Key

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

Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe

UI Text Box
sizemedium
typeinfo

Use case

In this Use case, we are going to update the Fix Version/s field automatically if two dates selected in two different Date Picker custom fields are between the Fix Version Version start date and release date.


 Configuration

UI Steps
UI Step

Add the Update or copy field values post function to the desired transition or create a new transition.

UI Step

Target issue

Choose Current issue

UI Step

Fields

UI Steps
UI Step

Field

Choose Fix versions

UI Step

Value

In the popup, choose the value Set field value manually (parser expression).

UI Step

Expression

Set the expression editor to Advanced text and introduce the following expression

Code Block
languagebash
linenumberstrue
toString(textOnStringList(unreleasedVersions(), first(startDates(%{seed.text})) < {issue.cfnnnnn} and first(releaseDates(%{seed.text})) > {issue.cfyyyyy} ? %{seed.text} : "") EXCEPT [""])
UI Text Box
typeinfo
Replace "nnnnn" and "yyyyy" with the ID of the Date Picker custom fields.




  Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow"

Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

Page properties
hiddentrue
JWT feature

Workflow function

Parser functions
Label