Features used to implement the example
Example: Copy attachments from one issue to another one
Is it possible to copy attachments with Write field on linked issues or sub-tasks post-function?
I have just released version 2.0.18 of Jira Workflow Toolbox which includes two new writable virtual fields that allows you to copy attachments from linked issues and sub-tasks using post-functions Write field on linked issues or sub-tasks and Read fields from linked issues or sub-tasks. The new virtual fields are called:
- Attachments (only new attachments will be added)
Attachments (current attachments will be replaced)
Depending on which of the virtual fields you select as target field, you can add the attachments of one issue to another one, or replace the attachments of one issue with the ones of the another issue.
Other examples of that functions
Write field on linked issues or sub-tasks
- Add and remove a single or a set of items from multi valued fields
- Automatically become watcher of every issue blocking an issue assigned to you
- Automatically close resolved sub-tasks when parent issue is closed
- Automatically resolve an epic when all its stories are resolved
- Compose dynamic text by inserting field values in a text template
- Copy "Due date" into a date type custom field in a linked issue if it's greater than current issue's "Due date"
- Copy attachments from one issue to another
- Create a comment in sub-tasks when parent transitions
- Creating a Jira Service Desk internal comment
- Creating a Jira Service Desk internal comment on linked issues
- Execute transition in epic
- Make linked issues, sub-tasks and JQL selected issues progress through its workflows
- Moving sub-tasks to "Open" status when parent issue moves to "In Progress"
- Sum sub-task's "Time Spent" (work logs) and add it to a certain linked issue
- Transition sub-tasks when parent is transitioned
Read fields from linked issues or sub-tasks
- Add all assignees of certain sub-task types to a "Multi-User Picker" custom field
- Add and remove a single or a set of items from multi valued fields
- Copy "Due date" into a date type custom field in a linked issue if it's greater than current issue's "Due date"
- Copy attachments from one issue to another
- Make an issue inherit highest priority among those of linked issues
- Propagate highest priority from blocked issues to blocking issues
- Sum sub-task's "Time Spent" (work logs) and add it to a certain linked issue