My project has 2 Boards A and B
When an Issue is created on Board A, I want to set the Component/s field to "Comp A".
When an Issue is created on Board B, I want to set the Component/s field to "Comp B".
Above can be achieved via automation by putting If - Else condition on Board name.
But it seems it is impossible to use Board name in JQL.
Is there any alternate way to fulfill this requirement?