You can have a workflow post function to automatically assign the ticket to the component lead, when a component is selected during issue creation. Is that what you meant?
Not sure what you meant by choosing a component lead when creating the issue because you can't change component lead while creating issues. Are you talking about a custom field instead?
You can have a workflow post function to automatically assign the ticket to the component lead, when a component is selected during issue creation. Is that what you meant? Yes, this is it! So I have to look at teh post function feature?
Great answers! Another request is when cloning an issue that is assigned to the component lead and then 'edited' for new fields, for the new component lead to also be the new issue assignee.
Meaning, I created an issue and based on the component, the same user is the assignee. Now when I clone this same issue and edit the fields (component being one of them) the new component field option assignee should also now be the issue assignee.
Currently, it's not changing the 'assignee' when editing the component field.
Once assigned, JIRA won't change the assignee based on changes in the component, unless you explicitly do that in a workflow action. In the case of cloning, the assignee will not be modified unless the assignee is not valid in the target project of the cloned issue. Hope that makes sense.
What we are trying to accomplish is this:
You'll need a listener to do the automatic re-assignment on edit. This could be quite hard, as there's no way to know when it's an edit of a clone, or just an edit.
Yes, that would be a simple implementation. I suspect your users would demand you remove it quite quickly though - why should adding or updating a component automatically re-assign something I'm hlaf-way through?
This is a request from the project lead. When cloning an issue, he states they will change the component and thus wants the cloned issue to be assigned to the 'new component' lead. How do I implement this?
You can do this off-the-shelf. Look at the list of components, and you'll find some settings to the right about who the default assignee is - project lead, unassigned, project default or component lead. No need for post-functions.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events