Jira SDK: fetching Jira issues filtered by custom field

Haitham Salem May 11, 2017

i have an issue while fetching Jira issues filtered by custom field, i am getting below error:

Response Content: {"errorMessages":["Error in the JQL Query: Expecting a field name but got ')'. You must surround ')' in quotation marks to use it as a field name. (line 1, character 22)"],"errors":{}}

 

the code is: 

var issues = jiraRestClient.Issues.Queryable.Where(x => x.Project == ConfigrationManager.JiraProject
&& x.CustomFields["Transaction Type / ATM Number"].Values[0] == "Deposit");

The custom field "Transaction Type / ATM Number" is cascaded drop down list it has two elements in value string array, see below picture

 

please help 

CustomFields.png

1 answer

0 votes
Łukasz Modzelewski _TTPSC_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 3, 2023

It's most probably outdated, but if you have an answer please post it :)

As for developer related topic there is a better place: https://community.developer.atlassian.com/ 

Suggest an answer

Log in or Sign up to answer