36

I defined a unassigned user in my JIRA account and now I can assign to unassigned user. when I want to get all those tickets using quick filter - I can't. any solution / workaround will be most welcome.

dario
  • 5,149
  • 12
  • 28
  • 32
Alon1980
  • 1,225
  • 1
  • 16
  • 30

2 Answers2

61

In your case, create filter and type in JQL:

assignee = unassigned user

Or if no assignee

assignee is empty

You can select the widget "filter result" to show the consequence on your dashboard.

Sing
  • 3,942
  • 3
  • 29
  • 40
  • 1
    You can of course also do a combination: `assignee = unassigned user OR assignee is EMPTY` – Steven Sep 14 '16 at 20:56
1

In my humble opinion create a specific user to assign those task which you want to consider as unassigned is pointless and it would require additional effort when Jira already gives you that feature natively.

You only need to use JQL filters to query. For instance, if using 'python-jira' module you can easily do the following:

# Get all issues which are unassigned and belongs to project 'DESK'
issues = jira.search_issues('assignee=null and project=DESK')
print issues

This will output all unassigned issues (of course it will vary from your JIRA DB):

[<JIRA Issue: key=u'DESK-9', id=u'10009'>, <JIRA Issue: key=u'DESK-7', id=u'10007'>, <JIRA Issue: key=u'DESK-5', id=u'10004'>]
Fernando Martin
  • 609
  • 6
  • 19