Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

The value 'undefined' does not exist for the field 'filter' #1

Closed
jbartko opened this issue Oct 15, 2018 · 3 comments
Closed

The value 'undefined' does not exist for the field 'filter' #1

jbartko opened this issue Oct 15, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@jbartko
Copy link

jbartko commented Oct 15, 2018

Hello!

Thank you for sharing this project! It looks promising, but when attempting to use it calls to /test-jira appear to succeed, then when configuring a Grafana panel to use the datasource, I see errors like the following:

(node:24) UnhandledPromiseRejectionWarning: {
  "statusCode": 400,
  "body": {
    "errorMessages": [
      "The value 'undefined' does not exist for the field 'filter'."
    ],
...
  "request": {
    "uri": {
      "hostname": "JIRA.EXAMPLE.COM",
      "pathname": "/rest/api/2/search",

Current Jira version is 7.3.8. Might this project be expected to work with that version?

@bluefrg
Copy link
Owner

bluefrg commented Oct 15, 2018

Which version of Grafana are you running? I suspect Grafana isn't passing an array of targets in to the /query endpoint.

https://github.com/bluefrg/jira-grafana-json-datasource/blob/master/server.js#L109

@jbartko
Copy link
Author

jbartko commented Oct 16, 2018

Currently deployed Grafana version for me is 5.2.1

@bluefrg
Copy link
Owner

bluefrg commented Oct 16, 2018

Exception was being thrown when adding a panel. Grafana was querying without a target. Grafana version was irrelevant. Give it a try now.

@bluefrg bluefrg added the bug Something isn't working label Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants