On this page

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

If you still have questions, feel free to refer to our support team.