Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExpand to see the example on sample code
collapsetrue
${html:%{'${escape:Description}'.replace(new RegExp('toReplace','g'),'replacer')}}


Formatting Duration time field

If you are exporting a duration time field, you can define the behavior you want in order to get the correspondent value. Let's suppose you want to export the duration of an issue, from now on, you are able to get this value in milliseconds and even better, you can get the current duration time formatted of this value.
Furthermore, this field allows you to execute javascript action on the duration time field and export the result.
 

Definition: 

${durationformat:<Field name>}


Code Block
titleExpand to see the example on sample code
collapsetrue
${durationformat:Custom Field}


${durationformat:%{var timeValue="<Value>"; timeValue;}}