...
Code Block |
---|
title | Expand to see the example on sample code |
---|
collapse | true |
---|
|
${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 |
---|
title | Expand to see the example on sample code |
---|
collapse | true |
---|
|
${durationformat:Custom Field}
${durationformat:%{var timeValue="<Value>"; timeValue;}} |