Forums

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

One Workflow with different behaviours within different projects

Nicole_Brueckner July 12, 2023 edited

Dear all, 

Following challenge: 

We have for different products different projects for the Product Management & Development. All are going through the same structure (same issue type, same workflows...) 

Now the requirement came in, that for the Epic Workflow the mandatory fields should be variable based on the project. 

We have e.g. the "Definition of Ready field" and the "Definition of Done" which gets mandatory within JSU config while processing. 

Some products don't follow this accurate and just checkmark everything. Can we put this validator dependent on project key?

Thanks in advance!

2 answers

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2023 edited

Hi @Nicole_Brueckner ,

you could do that putting in place Behaviour provided by Script Runner.

Please take a look here https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-examples/field-required-on-transition

Hope this helps,

Fabio

0 votes
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2023

Hi @Nicole_Brueckner 

If you have scriptrunner, a scripted Validator or behaviour can be used to achieve this.

But if there are many such deviations, you could create workflows specific to projects. Unless you have reasons not to.. 

Nicole_Brueckner July 12, 2023

Hi Fazila, 

Thanks for commenting. 

As this is a central workflow for all DEV departments and we have more than 20 products, I don't want to change 20 workflows, in case there are changes coming :D I hope to find a centralized way :)

Have a nice day!

Like Fazila Ashraf likes this

Suggest an answer

Log in or Sign up to answer