Forums

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

Not able to use "IN" operator in summary field using rest api jql query

jay
Contributor
September 22, 2024

We have summary field and it's details is below.

 

{

        "id": "summary",

        "key": "summary",

        "name": "Summary",

        "custom": false,

        "orderable": true,

        "navigable": true,

        "searchable": true,

        "clauseNames": [

            "summary"

        ],

        "schema": {

            "type": "string",

            "system": "summary"

        }

    },

I need to filter the summary field values using REST API JQL query .

The query is " Project = GHJ and summary IN("title1" , "title2")". But it is throwing the error.          

 

{

    "errorMessages": [

        "The operator 'in' is not supported by the 'summary' field."

    ],

    "warningMessages": []

}


 

 

rest api : /rest/api/3/search

1 answer

2 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 22, 2024

Hi @jay 

Summary field support only ~ and  ! ~ operators. 

You can use summary ~ text1 OR summary ~ text2

jay
Contributor
September 22, 2024

@Manoj Gangwar  Thank you I will try this.

Like # people like this
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 23, 2024

If it resolved your issue, please accept the answer to mark it as resolved. 

Suggest an answer

Log in or Sign up to answer