Forums

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

Script Runner - To restrict creation of issue type to a group if a specific project is selected.

Danish Hussain Sabunwala
Contributor
November 22, 2021

Hello Team,

I need to restrict the creating of issue to only a group if a particular Project Name(a drop down custom field) is selected during the cration of issue.

I found that the easiest solution is a Script runner validator in workflow "create transition".

So I need the condition:

if {Project Name =! "{project name}";}

then {return true;}

elseif {Project Name == "{project name}" && Group Name == "{group name}"}

then {return true;}

else {return false}

Thank you in advance,

Danish Hussain

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2021 edited

Hi @Danish Hussain Sabunwala

 

This question was previously asked, answered and accepted.

Please visit this community post for more information.

 

Thank you and Kind Regards,

Ram

Suggest an answer

Log in or Sign up to answer