You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

On this page

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 start date and release date.


 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 ID of the Date Picker custom fields.




  Related use cases

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