Components

Hitesh May 2, 2023

Hello,

 

I would like to prevent creation of tickets if the following components are selected together using validators in the project workflow.

- ComponentX and ComponentY

- ComponentZ and componentA

 

Works even with the scriptrunner

Thanks.

Hitesh

1 answer

1 accepted

1 vote
Answer accepted
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.
May 3, 2023

Hello @Hitesh 

Have not tested but scriptrunner simple script validator code like below could be used and extended

issue.components*.name.contains('ComponentX') && issue.components*.name.contains('ComponentY') 
Hitesh May 3, 2023

Hello @Fazila Ashraf

 

Can i get the full script 

Thanks!

Suggest an answer

Log in or Sign up to answer