Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to get Issue/Ticket with Filter on a Custom Field Value

33 views
Skip to first unread message

Rakesh Prasad

unread,
Jan 24, 2021, 7:01:24 PM1/24/21
to Accelo Developers
Hi,

We need to get issue by filter custom fields but i have not found any example in api doc.

I'm trying to use a filter to search for a unique value in an issue custom field but its return all issue/tickets.

Suppose I have a custom field name "Azure_sentinel_Id" and value "12987ACB".

I want to get this issue/ticket based on "Azure_sentinel_Id" having value of "12987ACB".

Why I need this type of query because we are updating unique value in this custom field on every ticket created by the api so if we want to update anything in this ticket then we need to search this ticket based on the custom field.

Hope you will understand the issue. 

Rakesh Prasad

unread,
Jan 26, 2021, 5:50:50 PM1/26/21
to Accelo Developers
Hi ,
Any update on this. Is it possible or not.

Marcus Little

unread,
Jan 26, 2021, 6:17:10 PM1/26/21
to Accelo Developers
Hi Rakesh, 

Thanks for writing in! This functionality is currently not available within the API, as there isn't an existing endpoint that can return all Extension Values in the deployment to then filter against for the relevant Issue(s). 

Additionally, the Issues object doesn't include a values field by default; the values can only be accessed via the /{object}/{object_id}/extensions/values endpoint. Please consider adding this suggestion to our Ideas Forum, where our Product Team can review your feedback, and other users can vote to increase the priority of this item. Please let me know if you have any questions!


Kind regards,

Reply all
Reply to author
Forward
0 new messages