Filter Objects by JSD Organization

Anton Delitsch October 5, 2018
Hi,

On our servicedesk we would like to automatically set the hidden Insight field Account to the Organization of the customer logged into the portal or sending an email. Is there any built in function for this or do I need to add all users to the Account object in Insight and use that as an filter?

1 answer

0 votes
Nader Nassif
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2018

Hi Anton,

If you have every organization in a different objectType then you can filter using objectType. You can also filter using an attribute, something like the attribute "Name" if you have the clients listed using names.

objectType = Organizations AND Name = ${company_name}

Then the custom field will only show results relevant to the organization of this customer.

Cheers!

Nader

Anton Delitsch October 9, 2018

Hi, Nader,

I actually solved it using an import job in Insight that is calling the getOrganizations api.

https://docs.atlassian.com/jira-servicedesk/REST/3.6.2/#servicedeskapi/organization-getOrganizations

 

That data is saved into an hidden field on the customer in Insight. Once it is saved i can filter it using the custom field for organizations:

objectType = Customer AND JiraOrgID = ${customfield_10002}

 

But thanks for the fast reply. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events