Forums

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

Best practice for a workflow condition on project rather than permission or role

Kayleen Cucugliello August 29, 2024

 

Does anyone have a best practice to add a condition to a workflow that allows a status to be hidden in certain projects instead of creating a branch new workflow?

Or is creating another workflow a better practice?

2 answers

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.
August 30, 2024

Hi Kayleen,

It depends on what you are doing, but I almost always suggest using Conditions and maintaining fewer workflows. 

0 votes
Simon König
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2024

Hi,

it might be possible to add a condition that checks a project name/key via string comparison.

I don't think this would be best practice since Workflows are fixed to IssueTypes and those then to Projects. If you use the same IssueType, then you could change the WorkflowScheme in the project and just use a different workflow for this one project.

Of course you are able to do this, but:

If you have multiple projects or want to add some in the future, you will always have to be careful when using this condition. And when you e.g. change the project name, your condition will fail too. It is just not as easy to maintain as using a different workflow. In my opinion.

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