Recent searches


No recent searches

Using lookup relationship fields



image avatar

Jacquelyn Brewer

Zendesk Documentation Team

Edited Mar 19, 2025


0

88

88 comments

Hi!

This is a very cool feature, but I don't see anything related to Explore? When will these fields become reportable in Explore?

Thank you!

6


would like to see more use case scenarios of this to see If I get an idea to implement this 

13


image avatar

Bobby Koch

Zendesk Luminary

+1 Pedro Cassian  - i feel like i have a few ideas where this could be helpful, but nothing that would be too helpful immediately.. 

2


Hi,

This is a nice addition.

Can related field be used on the right side of the action in triggers?

For example, I created a user custom 'lookup' field called Deputy Agent, with the intent to use it in case of an absence of the ticket assignee. The Deputy Agent field appears in the agent profiles and any agent name can be picked from the drop-down list, which works just fine.

In my trigger, I'd like to add an action: Assignee = Deputy Agent 

Unfortunately, this selection doesn't seem to be possible.

P.S. I am aware of the Out of Office App.

1


Hi,

I'm really excited about using this new functionality, but I have some observations about the two biggest challenges I foresee in us adopting this:

Firstly, for user objects we have a drop-down that's hard-coded for a list of our agents to add an "Incident Manager" field on tickets. For this we have triggers to automatically update this value on first assignment and agents maintain their own views of their tickets. We could easily switch this out using a lookup relationship field, except that the main benefit should be to add a view of "My Managed Tickets" where the condition is to have the incident manager = "(current user)" instead of having each agent maintain their own views, but this is not an option. Also, we could retire all of the agent specific triggers with a single one that updates the field to "(current user)", but the same restriction applies here.

Secondly, for ticket objects - for some incidents we always want a problem ticket to be created, so we could use one of these fields for this purpose and make it mandatory for solving the ticket. However, where we currently use problem tickets there's an easy way to view all incidents linked to it - this won't exist using a lookup relationship. The best solution I can find would be to search for "fieldvalue:1234", which may bring back other tickets which have a number the same as the ID in a different field, or the even less convenient search "custom_field_64286819...:1234" and have all agents save the field ID for searching.

I think these would be the two main sticking points I will have with my agents if I try to move us across to this feature - which is a shame because I suspect that these will stop us fully embracing this great new functionality.

Can you confirm if these two cases have been considered or what the roadmap looks like to more fully integrating these fields into other areas of the system?

Thanks in advance!

Dan

3


There appears to be a limitation for this field type which I've not seen for any other ticket fields:

I'm not able to find any documentation explaining this limitation, bit this is a total of 5 such fields including deactivated fields - not just active fields.

1


Hi,

Is there any way to notify(send email to) the user in lookup field of Users on Ticket about certain activity on ticket?

1


That is what I am looking for. But I have done some testing and found out If it is of user type:
- Cannot be used in views to filter on “(current user)”
- Cannot be used in trigger actions to send emails
- Cannot be sent an email in automations

So, that is not a complete solution/feature!

Is there any solution to this?

3


This is great, but I'd love for their to be a lookup field available for end users. For example, a manager submitting an equipment request ticket for an employee would select the employee in a lookup field. 

It's a bit crazy this isn't already available. 

2


Unfortunately, I have to agree that this looks like a half-baked feature. Lots of potential but then (according to Zendesk support on using user lookup fields in views):

(...) you are not able to use end-user identities as a condition.  Even if this is within a lookup relationship field with no filters on it. You are able to add a custom lookup relationship field to the columns for a custom view, but you cannot use that field to group or order the view (...)

So forget about having views that show tickets where in the lookup field you have end-user X. And forget about grouping or sorting views using those fields...

Very disappointing. 

And I haven't checked Explore yet...

4


image avatar

Ashwin Raju

Zendesk Product Manager

hi Carlos Santos - I am sorry to hear that you weren't satisfied with the feature. 

Could you share your use case on why you wanted to use end user value in a Lookup fields to be used as a condition in a view?  

1


Hi Ashwin Raju.

We have tons of situations where the ticket is pending on specific users of our Zendesk (approval, participation, clarification, execution, etc). And they may be agents or end-users. So I'm using a lookup field to allow the agents to associate each ticket with the user the topic is pending on and I also record the date. And that part works fine.

However, I need my agents to be able to create views where they have the tickets pending on specific users (one or more) and at this point we can use lookup fields as criteria but we can only search for agents. No good.

Additionally, even if we could specify one or more end-users as criteria, we can't use the  lookup field to group or sort the view. If we have a view that lists a lot of tickets pending on a lot of different users, that would come handy. But we can't. Also no good.

On top of that, maybe we could use Explore to generate dashboards to take the place of the views we can't create. Big NO on that one as well.

My workaround: I have a parallel field (simple drop-down) where, using external API automations, I create an option for the user the ticket is pending on. When I change the lookup field, the automation updates the options in the parallel drop-down and updates the ticket with the correct option. Given that the simple drop-down does, in terms of views and Explore, everything the lookup field can't, the issue is resolved.
But let's be honest, it's a major overkill. The lookup field should do it all.

Thank for looking into this.

 

4


image avatar

Dan R.

Zendesk LuminaryCommunity Moderator

I would love if the Zendesk supported Salesforce Integration could be compatible with Lookup fields. Being able to model parent/child relationships in Zendesk would huge!

3


image avatar

Ashwin Raju

Zendesk Product Manager

Carlos Santos - Thank you so much.. This helps.. I was also able to get a few more use cases on this. And have sent it over to the tech team for checking feasibility and effort. Will keep you posted on this. 
Stephen Barbarino - Let's take an example. In the very near future you will be able to point Lookup fields to a new version of Custom objects that my team is currently building. Let's assume "Shoe La La" as a hypothetical company that maintains Order information in their custom objects. They associate the specific order in their return process through a Lookup field and want their customers to select the specific order they want to return. John Doe, a customer of Shoe La La, wants to return a shoe that he purchased. John goes to guide, creates a return request and at this point is asked to fill in the order which he wants to return. This lookup field should not pull up all the orders in Shoe La la, but should only pull up orders associated with John..
The whole purpose of the Admin exposing the order lookup field in the return form is reduce the effort of the agent by passing it on the end customer. However, in such a circumstance, it is critical that the Admin has the ability to control what the end user sees. 

Dan R. - Totally agreed. Are you thinking mapping the Lookup fields in Salesforce to Lookup fields in Zendesk .. Or the Master detail relationships to something similar in Zendesk?

Guilherme Santi Clair Da Silva - This field does not insert tags into the Ticket, User or Organization like a drop down. Think of this field type as similar to a Requester field or an Assignee field. Was there a specific use-case that you were trying to utilize tags for ? 
Google Translated(Hopefully google translated it right :) ) : Este campo não insere tags no ticket, usuário ou organização como um menu suspenso. Pense nesse tipo de campo como semelhante a um campo Solicitante ou Destinatário. Houve um caso de uso específico para o qual você estava tentando utilizar tags?

1


Hi Ashwin Raju

Absolutely loving this feature so far however I believe the "level-up" function for this is 2 part:

1) Allow Relationship Fields to be linked to custom objects.

2) Allow Realtionship Fields to be displayed on Guide.

Our use case is simple - we manage software licenses for our partners.  We would love to build custom objects for these software licenses and link them to their organisation.  When it is time for them to submit a request regarding this license, their list should be available to them in guide to select from so that we know which license the ticket is referring to.  Would be amazing! 

1


image avatar

Ashwin Raju

Zendesk Product Manager

Hi Dan R. - The good news is that we very close to completing the build for this feature. We should be releasing this feature sooner than you think.Let me ask my counterpart on the Explore side to share better sense of the timelines (CC: Renata Nikulina)

 

1


Ashwin Raju, are there any plans to allow view conditions to specify (current user) on User lookup relations for tickets?

We have a use case where we need to assign a user other than the one handling communication to a ticket who will remain the Assignee and would like to create a view where they can see the open tickets they have assigned.

2


Ashwin Raju, I'm actually looking for a way to configure a ticket view to show the agent tickets where they are selected in the user look up field.

In the same way we can create a view where the Assignee = (current user), I would like to be able to create a view where {My custom lookup field} = (current user).

2


image avatar

Dan R.

Zendesk LuminaryCommunity Moderator

I second Archie suggestion. I'd like to be able to have a lookup relationship to for an account owner on an Org within Support and create a view showing tickets opened for that org. 

1


The same function as suggested by Archie Menzies would be great - being able to use (current user) as a property for Triggers / Views would really help make this feature more powerful.

1


image avatar

Ashwin Raju

Zendesk Product Manager

Hi Jacqui. Thank you for your patience.. We have initiated conversations on this feature. My team is currently heads down on releasing the new custom objects this quarter. And right after that release, we look to start our work on making Lookup fields available in Guide. Will keep you posted... Would love to hear your use case on this, so that I can capture it.. 

1


image avatar

Ashwin Raju

Zendesk Product Manager

hi Prabu P - Did you deactivate those test lookup fields .. Or delete them? If you delete them, this issue should not occur. 

1


image avatar

Ashwin Raju

Zendesk Product Manager

hi Arno - The filter that you are looking at, is currently not possible. We are working on an initial version of dynamic filtering to use the Requester, Requester Org and Logged in user in filtering Lookup fields in Tickets.. 
For eg: The Lookup field pointing to Order should only show up Orders associated with the Requester. The Lookup field pointing to Contracts should only show up Contracts of the Requester Org

I will add this to my backlog. 

2


image avatar

Ashwin Raju

Zendesk Product Manager

Anne-Flore Caire - That is a good idea. We are looking at adding new records from the related list pretty soon. I will take this to design and consider the options there

Leandro Silva - Will pass on this feedback to the Mobile team on this. 

1


We would definitely like having the lookup field accessible to user forms.  We want to store the list of products that our customers are subscribed to in a custom object.  When they submit a support ticket, we'd like them to be able to pick from the list of products that they own, which product they are submitting their ticket for.  We don't want them to have to pick from the entire product catalog - just from the list of products that they subscribe to.

1


Is it possible to display values of a lookup field as a multi-level dropdown like we do on regular dropdown? Tried adding (::) in between the names but not working. I have a lookup with a few hundred records and I want to organise it into multi-levels.

1


image avatar

Ashwin Raju

Zendesk Product Manager

hi Hannah Lucid - You can use the Lookup field value in reporting today. What you dont have currently (which we are working towards) is the ability to report on fields within the lookup field. 
Do you mind sharing your use case? 

1


Hi Ashwin Raju ,

Do you know if there are any plans to enhance how Lookup Relationship fields interact with Ticket Views? 

As mentioned in a previous comment in this thread, Lookup Relationship fields are missing the following functionality:

  • Sort by
  • Filter by 
  • Use (current user) as a Lookup Relationship field condition (would be helpful in cases where you have an associated Agent with an Organisation / Ticket, so they can see all Tickets related to their customers)
  • When exporting the contents of the View, only the ID is shown in the csv file (not the plain text Lookup Relationship value for Organisation or User)

0


image avatar

Ashwin Raju

Zendesk Product Manager

Ole Rosland - I would need to research on this capability.. I know Dropdowns use this format to define nesting.. And we are introducing something similar to nesting pretty soon, wherein you can select the Product category field as iPhone and your Product Lookup will show only the Products with Category as iPhone

1


We have some organisations with very similar or identical names. Can we add an organisation custom field to be within the organisation lookup? So it would be “Org Name - Custom Field”

0


Please sign in to leave a comment.