Hi. We use a field called 'Calculated Date/Time'. This field should display one of the following values:
<!-- @@Formula: issue.get("updated") -->
<!-- @@Formula: issue.get("customfield_10100") -->
Always the bigger one. So if 'updated' is a later date, than the value of this field should be displayed (in the 'Calculated Date/Time' etc... you get the point. So the question is, how to create a condition which would display only the 'later' date. Thank you very much for your help.
You might want to try something like:
if (issue.get("customfield_10100") == null && issue.get("updated") == null) return null; if (issue.get("customfield_10100") == null) return issue.get("updated"); if (issue.get("updated") == null) return issue.get("customfield_10100"); if (issue.get("customfield_10100").getTime() > issue.get("updated").getTime()) return issue.get("customfield_10100"); else return issue.get("updated");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.