In the post-functions for my workflow I am looking to set the assignee to the last person of a project role based on what the component is. Example: if the component equals "SE", set the assignee to the last user assigned the task from the "SE" project role.
There is a workaround for this where I can create different issues types with different workflows (i.e. SE Bug, ID Bug, Producer Bug). I am trying to avoid this because if there are 3 issue types and 3 roles in play, that would be 9 workflows. My hope is one workflow where you can change the component in order to guide which assignee something goes to.
Does anyone know what the post-function for this would look like?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG