JQL/Smart Value for names of assigned Services

Kim Oliver Drechsel April 11, 2023

I have a couple of services (linked from service registry) assigned to a ticket on a Jira SM board, that I want to send in an email with a jira automation.

However, looking up the custom field and values of the ticket with the Api, it just returns a list of ids, but no service names:

image.png

How can I get and use the name of these services in a jira automation?

1 answer

1 accepted

2 votes
Answer accepted
Kim Oliver Drechsel April 12, 2023

I found it out.

If you just use the normal smart value with name, you get the names as a list:

{{issue.customfield_10058.name}}

So you can just iterate over them like so to print them as a list:

<ul>
{{#issue.customfield_10058}}
{{#name}}
<li>{{name}}</li>
{{/}}
{{/}}
</ul>

Suggest an answer

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

Atlassian Community Events