Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

In a rule, if no on is relate to a role on a project to assign to, switch to project lead

Asher Gilmour March 12, 2024

I have a rule that assigns an issue to a specific project role. If it does not exists, it fails.
We want to add a condition that if no one exists in that role on the project, assign to project lead instead

3 answers

1 vote
Denise Lydia Ellis
Contributor
March 12, 2024

Hi Asher,

Without more detail on the automation rule use case, you can consider to review your project settings, and make the project lead the default assignee for issue? 

Hope this help. Otherwise share a screenshot of your automation rule please to better understand your use case and current rule.

Cheers,

Denise

0 votes
Asher Gilmour March 14, 2024

Looks like, we need to let the rule fail and fix the role manually

 

Thanks Anyway!

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Hi Asher - Welcome to the Atlassian Community!

I don't think there is an easy way to do that. The problem would be trying to determine if the project role is empty. 

You might do the assign and then follow with a re-fetch action (or two). And then check to see if the assignee is empty. If so, then do an assign action for the project lead. 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 14, 2024

Did you try what I suggested? If so, where did it not work? 

Asher Gilmour March 17, 2024

As we are in Migration

It is quicker to add a create role in the script for opening a new project

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events