Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Value URL to Insight Schema Object

Ronald Bouman
Contributor
August 27, 2021 edited

Hello, 

What is the smart value to put in an email to add the URL to an Object? 

I have tried the following, which is not working. 

 

{{#lookupObjects}}
* <a href="{{url}}">{{key}}</a> 
{{/}}
 
or  
{{lookupObjects.URL}}
 
or
{{url}}

 

I want to get the URL to an Object in an email. The email is showing all data that I want it to show, but it just does not add the URL to the Objects.

 

My full email text is as follows: 

 

Dear user,
 
The following licences are about to expire within 30 days:
 
{{#lookupObjects}}
* <a href="{{url}}">{{key}}</a> - {{Name}} - {{Licence Expiration Date}} - {{Business Function}} - Critical {{Critical}}
{{/}}
 
Please review these licences and determine if a renewal is required. Should you require support with the renewal, please email xxxxxxxx
 
Thank you, 
Service Delivery Team
 
Thanks
Ronald

2 answers

1 accepted

0 votes
Answer accepted
Ronald Bouman
Contributor
August 30, 2021

I have the answer but I cannot post it because the answer is blocked because of some forbidden HTML. 

Also posting it as a code doesn't work. 

Makes no sense. 

1 vote
Ronald Bouman
Contributor
August 29, 2021

Anyone? There has to be a simple answer. 

Sue Lund
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 15, 2021

@Ronald Bouman 

Have you figured this out, yet?  I'm stuck at the same place.  I want the URL for the exact object and not for the whole schema.

Like • Ronald Bouman likes this
Ronald Bouman
Contributor
October 15, 2021

Hi, I have figured it out, but cannot post the code for some reason.

Lets see if this works

 

{{#lookupObjects}}
<a href="https://xxxxxxxx-jira.atlassian.net/jira/servicedesk/insight/assets/{{id}} "> {{key}}</a>
{{/}}

Like • 2 people like this
Ronald Bouman
Contributor
October 15, 2021 edited

Ok, that works, so for the xxxxxxx you put your JIRA instance name. You can change {{key}} to anything you want as text for the URL, as long as it is a valid value from your schema. Or just text. It works like any HTML code for URL.

Like • Sue Lund likes this
Sue Lund
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 15, 2021

Thank you.  That is very helpful.  I'm testing creating a ticket for contract renewals and this is what I needed.

Like • Ronald Bouman likes this
Ronald Bouman
Contributor
October 17, 2021

Thats great, Sue, glad to be of help. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events