Problem
When attempting to create a data link through my Jira connector using the following JQL...
project=SAVE AND createdDate >=2015-01-01&fields=assignee,status,resolution,customfield_12167
...I am seeing this error:
Can not parse input: Failed to open 'http://fljira.westlan.com/rest/api/latest/search?jql=project%3DSAVE+AND+createdDate+%3E%3D2015-01-01%26fields%3Dassignee%2Cstatus%2Cresolution%2Ccustomfield_12167%0D%0A%0D%0A': Bad Request (400): Error in the JQL Query: Expecting either 'OR' or 'AND' but got ','. (line 1, character 58)
Solution
Upon reviewing the JSON definitions for the data link experiencing errors against a test data link from a newer version of Datameer, we spotted a slight difference in the structure.
Snip from original failing JSON:
{
"include": true,
"acceptEmpty": true,
"origin": "fields.customfield_12167value",
"valueType": "
{\"type\":\"STRING\"}
",
"name": "Custom_Reason1",
"pattern": "",
"id": 60053,
"version": 3
},
Snip from working JSON:
{
"include": true,
"acceptEmpty": true,
"origin": "fields.customfield_12167.[value]",
"valueType": "
{\"type\":\"STRING\"}
",
"name": "Custom_Reason1",
"pattern": "",
"id": 60053,
"version": 3
},
The difference in the edit:
Adding the '.[value]' in place of simply 'value' allowed the data to be pulled in as expected.
This issue was address and repaired in JIRA: DAP-25109
Comments
0 comments
Please sign in to leave a comment.