Forums

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

conditions in workflow

Suma Pralhad Kustagi
Contributor
July 26, 2021

Hi ,

   As per my understanding the condition in a workflow is pertaining to that workflow and to that project.. In case the same workflow is being used in multiple projects ...

We need to add that condition in all the projects individually right... Hope its correct...

 

 

Regards,
Suma

 

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
July 26, 2021

No, that's incorrect.

A workflow is a definition that lives outside a project.  You then tell a project "for this issue type, use workflow X".  

The conditions (and triggers, post functions and validators) are all defined in the workflow.  So any project/issuetype using that workflow uses the same condition all the others do.

You could, if you were writing conditions, add logic like "if project =", but most of us don't, we tend to use a different workflow if we need different conditions by project.

Suma Pralhad Kustagi
Contributor
July 26, 2021

Hi Nic,

    I was confused a bit because, a workflow is being used in multiple projects and for that issue type  has a common board.

 

Project in(A,B,C) and issue type=Epic and Component=XY

Regards,
Suma

Nic Brough -Adaptavist-
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.
July 26, 2021

The board is a view of a selection of issues, its only relationship with a workflow is "the issues selected in my boards are all following the workflows their project/issuetype defines for them"

The board needs to be able to show you all the status that are used by the different workflows for any issue it might need to show you, but it doesn't do anything by project. 

For your filter, all the board does with workflows is ask "Hey, projects A, B and C, what workflows do all your issues use?" then reads those workflows for all the different status they have so it can use them in the column configs.

Suggest an answer

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

Atlassian Community Events