Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira SDK: fetching Jira issues filtered by custom field

Haitham Salem
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Lucas Modzelewski _Lumo_
Atlassian Partner
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