compile url containing email address in custom field

Michael Nassette
Contributor
March 21, 2024

We have an external system to which we want to provide direct links from within support requests we create in JSM.

We can navigate to different objects within this system based on url fragments which we can add to a custom field with a default url fragment linking to the system itself, and a variable which we create and add to the custom field using automations.

This setup works for almost all the objects we have in this system, except for users. The user object we use on this system is the email address, which allows us to navigate to a user through an url which looks like:

https://system.io/user@domain.com

Configuring a single line free text field using the wiki style renderer, and populating it with a value through an automation will create a mailto: link rather than a url

In the automation, we set the field value to: [{{reporter.emailAddress}}|https://system.io/{{reporter.emailAddress}}]

If we try the same setup but with a url field instead of a free text field, it also results in a mailto: link rather than a url. The field value would be slightly different set in the automation:
https://system.io/{{reporter.emailAddress}}

Is there some way we can force this as a url rather than a mailto: link?

 

1 answer

0 votes
Dexter de Vera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2024

Can you show us sample output for both.

Michael Nassette
Contributor
March 21, 2024

Using the single text field, the output (rather field value) is:
[user@domain.com|https://system.io/user@domain.com]

The [ | ] will be displayed in the output, the link itself will resolve at mailto:user@domain.com instead of https://system.io/user@domain.com

When using the url field, the outpu/field value is:
https://system.io/user@domain.com

We observe the same behaviour in the url field as we see with the free text field, it will resolve at mailto:user@domain.com instead of https://system.io/user@domain.com

Dexter de Vera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2024

Suggest an answer

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

Atlassian Community Events