<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query tickets by custom property in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Query-tickets-by-custom-property/m-p/223122#M2018</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have made a custom property for tickets and i can set and retrieve it via the Tickets API. Is there a way to query tickets and find the ones where the custom property is 'X'?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 09:57:40 GMT</pubDate>
    <dc:creator>Nikola_Borozhie</dc:creator>
    <dc:date>2018-12-03T09:57:40Z</dc:date>
    <item>
      <title>Query tickets by custom property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Query-tickets-by-custom-property/m-p/223122#M2018</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have made a custom property for tickets and i can set and retrieve it via the Tickets API. Is there a way to query tickets and find the ones where the custom property is 'X'?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 09:57:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Query-tickets-by-custom-property/m-p/223122#M2018</guid>
      <dc:creator>Nikola_Borozhie</dc:creator>
      <dc:date>2018-12-03T09:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Query tickets by custom property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Query-tickets-by-custom-property/m-p/223123#M2019</link>
      <description>&lt;P&gt;Welcome, &lt;A class="mention" href="https://community.hubspot.com/u/nikola_borozhiev"&gt;@Nikola_Borozhiev&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;Similar to my response below, this currently is &lt;EM&gt;not&lt;/EM&gt; possible:&lt;/P&gt;
&lt;ASIDE class="quote quote-modified" data-post="5" data-topic="9800"&gt;
  &lt;DIV class="title"&gt;
    &lt;DIV class="quote-controls"&gt;&lt;/DIV&gt;
    &lt;IMG alt="" width="20" height="20" src="https://community.hubspot.com/user_avatar/integrate.hubspot.com/isaac_takushi/40/3361_1.png" class="avatar" /&gt;
    &lt;A href="https://integrate.hubspot.com/t/new-api-tickets/9800/5"&gt;New API: Tickets&lt;/A&gt; &lt;A class="badge-wrapper  bullet" href="https://community.hubspot.com/c/announcements"&gt;&lt;SPAN class="badge-category-bg" style="background-color: #F7941D;"&gt;&lt;/SPAN&gt;&lt;SPAN style="" data-drop-close="true" class="badge-category clear-badge" title="Anouncements for new APIs or updates to our Developer tools"&gt;Announcements&lt;/SPAN&gt;&lt;/A&gt;
  &lt;/DIV&gt;
  &lt;BLOCKQUOTE&gt;
    Welcome, &lt;A class="mention" href="https://community.hubspot.com/u/kakigori"&gt;@kakigori&lt;/A&gt;! 
All public announcements and timelines regarding API changes will be published to the &lt;A href="https://developers.hubspot.com/changelog"&gt;Changelog&lt;/A&gt;. 
That said, it's not possible to look up tickets by custom property values at this time. If you don't wish to store ticket IDs in your system, the best approach I can think of is to query the &lt;A href="https://developers.hubspot.com/docs/methods/crm-associations/get-associations"&gt;CRM Associations API&lt;/A&gt; for tickets associated with a given contact ID (vid) and then pass the returned ticket IDs to &lt;A href="https://developers.hubspot.com/docs/methods/tickets/get_ticket_by_id"&gt;this endpoint&lt;/A&gt;. 
While I can imagine the team wishes to add custom property …
  &lt;/BLOCKQUOTE&gt;
&lt;/ASIDE&gt;

&lt;P&gt;In your case, finding tickets with a custom property value of &lt;CODE&gt;X&lt;/CODE&gt; would parsing through the results of the &lt;A href="https://developers.hubspot.com/docs/methods/tickets/get-all-tickets"&gt;Get all tickets&lt;/A&gt; endpoint.&lt;/P&gt;
&lt;P&gt;If you would like to see this type of functionality added to the Tickets API, please post your request on the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas"&gt;HubSpot Community Ideas Forum&lt;/A&gt; including &lt;A href="https://community.hubspot.com/t5/Guidelines-Announcements/HubSpot-Idea-Exchange-Submission-Guidelines/m-p/11670#M10"&gt;as much detail as possible&lt;/A&gt;. This information is sent directly to our Product team and helps prioritize feature requests that have the greatest impact on our customers.&lt;/P&gt;
&lt;P&gt;If you share a link to your idea here, I'll be happy to upvote it and share it with the folks in the other thread.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 14:55:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Query-tickets-by-custom-property/m-p/223123#M2019</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-12-03T14:55:55Z</dc:date>
    </item>
  </channel>
</rss>

