On this page
Use case
In this Use case, we are going to update the Fix Version/s field automatically if the fix version start date is superior and release date inferior to two dates selected in two 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
Field
Choose Fix versions
Fields
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.cfaaaaa} and first(releaseDates(%{seed.text})) > {issue.cfbbbbb} ? %{seed.text} : "") EXCEPT [""])
Related use cases
If you still have questions, feel free to refer to our support team.