You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
I'm trying to make it so that the assignee doesn't default to the project lead when a sub-task is created. I read through several different discussions in this forum and decided that the best route would be to create a post function on a separate sub-task workflow to either copy the assignee from the parent, or to make the current user the assignee. I've tried both of these post functions on the Create transition, and even tried adding in an earlier post-function that clears out the assignee. However, no matter what I try, the assignee is set to the project lead.
Can anyone help me figure out what's going wrong?
It is not guaranteed that post functions will fire in the order they are listed. I would create a simple Automation for Jira rule to update the Assignee field after the ticket is created.
Now when each issue is created, it will add the desired default label as long as the issue is created in that project. You might need to refresh the page after each issue creation to see it.
You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, then instead of going to Project Settings, go to Jira Settings (cog icon on left-hand navigation bar) > System > Automation Rules (left-hand menu).
For more on using Automation For Jira see these help pages.
I know this is a bit of an older thread, but is there a way to filter for only if the "Automatic" assignee was used on issues creation?
I'm looking to respect the reporter's assignee when defined, but simply change the default assignee when the "automatic" assignee is used.
However, the solution above seems to overwrite the assignee regardless of what was specified. I can filter based on if assignee is EMPTY, but not assignee is Automatic..
Maybe you could put in a condition that checks if the assignee = a particular user
Hi @John Funk ,
It would work with project automation. but what if i want to copy assignee from parent to its sub-task on workflow default post function option, I am not able to do so. I have added "copy field value from other field" post function in workflow post function but its not working.
How can i do that ?
It is always better to create a new question so more people can help you. When you post to an existing question, on the people on that question will see it.
I have not tried to do that with a post function. We use JMWE which provides a lot more power for those kinds of things. But I typically use Automation for it.
Hi James welcome to the community. It appears that your WF is in draft. Please try publishing and recheck.