Sprint 50, Sprint 51
Changing the JQL on the Issue Picker field using a behaviour does not work as expected.
When you start typing the issue Key it then applies the new filter.
Create the Issue Picker field:
Create the Behaviour:
Edit and issue with that field:
Type the start of issue key and the new filter can then be seen as working:
So before text is entered it still uses the original JQL hence why you see Tasks Only
project = TP AND issuetype = Task
Then after you type into that field it uses the new filter so you only see Bugs:
project = TP AND issuetype = Bug