Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,639,044
Community Members
 
Community Events
196
Community Groups

{{issue.affectedServices.name}} not working

I am trying to use {{issue.affectedServices.name}} in automation that sends an email but it shows up blank in email.

 

Automation email:

"

<strong>New Incident: {{issue.summary}} reported by {{issue.reporter.displayName}}</strong>

Date and Time: {{issue.Time of Occurrence}}

Duration: {{issue.Duration}} minutes

Services Impacted: {{issue.affectedServices.name}}

Impact: {{issue.Impact}} - {{issue.Impact Description}}

Summary: {{issue.description}}

Resolution Details: {{issue.Resolution Details}}

Timeline: {{issue.Timeline}}

Investigation: {{issue.Investigation}}

Next Steps: {{issue.Next Steps}}

"

 

Email recieved:

"

Duration: 119.0 minutes

Services Impacted:

Impact: 

"

3 answers

1 vote
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 16, 2022

Because services are now stored in Insight you have to use the lookup object in order to get the name, something like this:

Screen Shot 2022-06-16 at 1.56.13 PM.png

0 votes
Stuart
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jul 03, 2023 • edited

.

@Mikael Sandberg how can I find the lookup objects action? it does not show up in search

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 16, 2022

It is only available if you are on the Premium plan, that will enable Insight. But you should still be able to get the service on the standard plan according to the documentation, maybe try and see if this works:

{{#issue.affectedServices}}

* Service: {{name}}

{{/}}

@Mikael Sandberg that still shows up blank in the email.

I even inspected the json for the issue there is only service id option there.

not sure what to try with this.

 

svcautomation.jpg

Suggest an answer

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

Atlassian Community Events