Add the corresponding labels for the parser functions used in the use case. For example, add the label parser_func_previousvalue if the parser function previousValue() has been used.

If the post function is Execute remote action, add also the label use-case-action

On this page

Do not edit this macro

Use case

Update the Fix Version/s field automatically with a fix version whose start and release dates lay between two dates selected in two different Date Picker custom fields. 


 Configuration

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

Target issue

Choose Current issue

Fields

Field

Choose Fix versions

Value

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

Expression

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

toString(textOnStringList(unreleasedVersions(), first(startDates(%{seed.text})) < {issue.cfnnnnn} and first(releaseDates(%{seed.text})) > {issue.cfyyyyy} ? %{seed.text} : "") EXCEPT [""])
Replace "nnnnn" and "yyyyy" with the IDs of the Date Picker custom fields.




  Related use cases

Select in the filter the parent page in the With ancestor filter