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

Compare with Current View Page History

« Previous Version 3 Next »

Use case

Return the total size of all attachments in megabytes.

JWT expression

issue.attachments.reduce((result, att) =>
            result + att.size, 0) / 1024 / 1024

Display format

Optionally use the following output format, to return a formatted result supplemented by "MB".

0.## MB