Module conditions for request type

Hey, is it possible to have a module displayed only on issues that are a request? Every service desk project has some request types (Get IT help, Request new equipment, etc), but it also has the standard project issue types, such as bugs, tasks, stories, etc.
I want to display my module only if it’s on an issue that is a request. Is that possible? I haven’t been able to work it out with conditions nor with expressions.

Thanks

If anyone ever need this, I’ve solved it by using a Jira expression to check for customerRequest.requestType.id, but doubly negated so you get a boolean otherwise it will resolve to false.
Looks like:

"params": {
	"expression": "!!customerRequest.requestType.id"
}
1 Like