Example: Propagate highest priority from blocked issues to blocking issues
We want that current issue inherits the highest priority among those issues being blocked by her. Issues blocked by current issue are those issues linked (directly or transitively) to current issue using an "is blocked by" issue link, that is:
current issue blocks another issue
another issue is blocked by current issue
We insert post-function Read fields from linked issues or sub-tasks in "Create Issue" transition for setting current issue's priority using linked issues priority.
We can also include this post-function in other transitions of the workflow, in order to refresh the priority in any other moment of life cycle of the issue.
Once configured, "Create Issue" transition looks like this:
Other examples of that function
- 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