Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
Use caseReturn the mimetypesĀ of theĀ attachments. |
Expression
Create and configure aĀ Smart fieldĀ using this expression inĀ Jira expressionĀ parsing mode:
Code Block | ||||
---|---|---|---|---|
| ||||
issue?.attachments?.reduce((result,att) => result.set(att.mimeType,""), new Map()).entries().flatten().filter(entry => entry != "") |
Page properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|