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

Compare with Current View Page History

« Previous Version 5 Next »

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

Value

In the popup, choose the value Set field value manually (parser 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 [""])
Replace "aaaaa" and "bbbbb" 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.