Hi,
I have a workflow scenario where it is required to add 1 or more attachments to a Transition Screen.
I am wondering if there is anyway to add just the attachments that were added during that Transition Screen to a Comment either with Jira automation or any post function functionality (either built in or with an add on app)
Hi @Matt Steadman I know you can get the list of issue attachments and post their information (filename, size, creator, etc.) to a Jira comment using the built-in automation in Jira Cloud. Here's a little rule I created to show it.
I used the "Issue attachments" condition and the "Comment on issue" action with the smart values: {{attachment.filename}} {{attachment.created}}
Here's more info on the smart values for attachments: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--attachment--
Additionally, here's some info about the "Issue attachments" condition: https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/#Issue-attachments
I know that the entire list of attachments isn't exactly what you asked for but it's a start. :)
Also, I was thinking that you could trigger this rule to run only after the transition that collects the attachments succeeds. (Meaning add a condition to the rule that the issues has to be in x status, where x is the status directly after the attachment collection transition.)
I hope this helps get you closer to your desired outcome!
Rachel Wright
Author, Jira Strategy Admin Workbook
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.