SQL for JIRA does the job in a straightforward way.
Simply convert you JQL;
type=defect
into a SQL and filter by the amount of labels:
select i.key from issues i inner join issuelabels l on l.issueid = i.id where JQL = 'type=defect' group by i.key having count(*) = 1
then convert back the SQL into a JQL:
issue in sql("select i.key from issues i inner join issuelabels l on l.issueid = i.id where JQL = 'type=defect' group by i.key having count(*) = 1")
No, not out of the box. The best you could do is something explicit –
label = triage AND label not in (branch, computer, upset)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.