REST API returns empty array of filter subscriptions with non-zero size

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      I rather expected having items there, or zero size if JIRA decide to hide subscriptions for me. But I think that I should be able to see those subscriptions, and something is wrong with producing array values.

      Response from the server:

      {
      	"self": "http://localhost:2990/jira/rest/api/latest/filter/10004",
      	"id": "10004",
      	"name": "All in project Test",
      	"description": "For testing subscriptions.",
      	"owner": {
      		"self": "http://localhost:2990/jira/rest/api/latest/user?username=admin",
      		"name": "admin",
      		"avatarUrls": {
      			"16x16": "http://localhost:2990/jira/secure/useravatar?size=small&ownerId=admin&avatarId=10054",
      			"48x48": "http://localhost:2990/jira/secure/useravatar?ownerId=admin&avatarId=10054"
      		},
      		"displayName": "Administrator",
      		"active": true
      	},
      	"jql": "project = TST",
      	"viewUrl": "http://localhost:2990/jira/secure/IssueNavigator.jspa?mode=hide&requestId=10004",
      	"searchUrl": "http://localhost:2990/jira/rest/api/latest/search?jql=project+%3D+TST",
      	"favourite": true,
      	"sharePermissions": [
      		{
      			"id": 10017,
      			"type": "global"
      		}
      	],
      	"subscriptions": {
      		"size": 4,
      		"items": []
      	}
      }

            Assignee:
            Unassigned
            Reporter:
            Aleksander Mierzwicki ☁
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: