Jira allows for the assignee to be set to the component lead (i.e., "Lead Developer") or to the issue reporter. But what about assigning the issue -- via post functions -- to the designated project lead, as defined in the project settings?
HI @[deleted]
Welcome to the Community!
The best way to do is using component, if you are not yet starting using component then using post function you can configure it.
Just you need to use Update Issue field post function on the create issue transition and then select Assignee as field and then provide the username to whom you want to assign the ticket.
Please have a look at the below KB article for details.
Hi Yogesh. Thanks, but I'd like to make the setting flexible. What if the project lead changes? I'd like to make it so that nothing gets hard-coded with actual usernames, but with roles.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah...its good...then please follow the below steps..
1. Create project role and add user to it.
2. Create User picker custom field.
3. Add the filter with created project role.
4. Add this user picket custom field on create issue screen.
5. Add the update issue custom field post function on create issue transition and select the created user picker field in step 2.
Whenever the project lead will change then just you need to add that particular user into the project role created in step 3 and automatically this user reflects in user picker field and then you can choose the user and assign it again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks very much! This works for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If component is not defined, you can use "Assign to Lead Developer": https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but what if components were defined?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using component then you can define the default assign as Project Lead for that respective component and whenever the user will create as issue with the specific component then the ticket will auto assign to the project lead as you have selected as default assignee for the component.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have two separate projects and both of them are having two different Development leads. However, both the projects are using same Jira workflow. I want to assign the tickets to Development lead for "Code Review" using post function. What is the best way to implement it as we are not using components?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.