Welcome to the Jazz Community Forum
When delivering how can I require that A certain workitem type is being used and it is in a certain state?

Accepted answer

You should be able to use the built-in conditions:
Comments

Yes, you can chain them, but as far as I can tell, it is impossible to require one work item has all the properties. With that approach you will also satisfy the conditions with two work items, one that satisfies 1 and 4 and one with 2 and 3.

And if you have more than one work item linked to a change set, you have to decide whether you want:
One other answer

You have to create your own custom advisor similar to this one.
Comments


See com.ibm.team.filesystem.service.internal.ServerRequireWorkItemAdvisor once you are doing the extension workshop. See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/.