# Variables/Fields from tickets, HELP :)

**URL:** <https://community.hubspot.com/t/variables-fields-from-tickets-help/105410>\
**Category:** CMS Development\
**Tags:** professional, free, starter\
**Created:** [April 22, 2024, 12:02pm UTC](https://community.hubspot.com/t/variables-fields-from-tickets-help/105410 "2024-04-22T12:02:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielDPAltra](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DanielDPAltra](https://community.hubspot.com/u/DanielDPAltra)\
**Post date:** [April 22, 2024, 12:02pm UTC](https://community.hubspot.com/t/variables-fields-from-tickets-help/105410/1 "2024-04-22T12:02:20Z")

</div>

I’m desperated trying to find how to ‘print’ who was the creator of the ticket. (PHP). I’ve done all the CRUD for tickets, but if i want to search by the field of the user who created the ticket,

I can’t because i dont know/find the variable name.(I NEED THE VARIABLE NAME FOR THE FIELD ‘of the creator of the ticket’)

I mean, in tickets there is this variables for example: (

‘content’ =\> $content,

‘hs\_pipeline’ =\> $hs\_pipeline,

‘hs\_pipeline\_stage’ =\> $hs\_pipeline\_stage,

‘hs\_ticket\_priority’ =\> $hs\_ticket\_priority,

‘subject’ =\> $subject

so i need to call the one for who is the creator of that ticket please)

THANKS

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [April 22, 2024, 3:15pm UTC](https://community.hubspot.com/t/variables-fields-from-tickets-help/105410/2 "2024-04-22T15:15:36Z")

</div>

@DanielDPAltra - would the property ‘hs\_created\_by\_user\_id’ be what you are seeking?

Steve
