How Do I Set A Transition Condition To Be Executed By the Project Lead?

Every Project has a 'Project Lead' assigned. But 'Project Lead' doesn't appear in the Roles Browser, and in the Workflow Designer, when setting a Transition Condition, I cannot select a Project Role of Project Lead to execute the transition. How can I set such a Condition for the Project Lead to execute the transition?

4 answers

1 accepted

0 votes

It's not a "role", it's a dynamic setting, like assignee or reporter.

You'll need to write or script a condition to use it directly. Or, hang the condition off a permission (like "can administer project") and then make sure the project lead has that permission.

In the Add Condition to Transition screen, there are options for: Only Assigned Condition, and Only Reporter Condition, but nothing like Only Project Lead Condition. I find that odd, since Assignee and Reporter are just like Project Lead - dynamic settings, as you say.

I see the 'Permission Condition' option too, and I can make that work per your suggestion; although not exactly what I was after, since other Project roles also have the Administer Project permission, who I don't necessarily want to execute this specific transition.

I've seen code for a "only project lead" condition, but my memory fails me on where I saw it!

It is mildly annoying, but I've a habit of granting project lead administrate rights and then using that. Not ideal if you want a tighter definition of what a project lead does. Another trick might be to grant a "useless" permission if you have one - like "delete own worklog" when there's no work log enabled in the project.

typical jira stupidity. sorry, bitter and frustrated developer sick of the neverending queue of obvious omissions like this one.

Yes, that it wouldn't be an option. Easiest workaround: Create a project role of Project Lead and then, whenever you assign the user to the built-in Project Lead, make that person the same for your own Project Lead role. Then, in Conditions you can select User in Project Role and choose Project Lead.

Stinks that you have to manage it in two places instead of one, but better that than writing a script, IMHO

I need this also, but it's not in the default conditions shipped with JIRA.

I created for this.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot