Forums

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

I can't get smart values to return in a teams message, can you help?

Beth Wilkinson
Contributor
August 25, 2023

I have created an scheduled automation to send a message to a Teams channel but when I sends the message, the smart values are not returning. Any assistance would be great as I am at a complete loss and have tried so much stuff. 

Here is a screen shot of my automation:
JIRA-TEAMS.png

And here is the result in Teams:
JIRA-TEAMS2.png

 

Thank you in advance!

1 answer

1 accepted

3 votes
Answer accepted
Bill Sheboy
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.
August 25, 2023

Hi @Beth Wilkinson -- Welcome to the Atlassian Community!

There are two things to check for this symptom...

First thing: smart values are name, spacing, and case-sensitive.  The one for the Lookup Issues action is this:

{{lookupIssues}}

So perhaps change your Send MS Teams message to try that.

Next, are there any issues in response to that JQL?  You can test that in the rule by checking the following with an advanced compare condition, perhaps checking if it is greater than 0, and only send the message in that case.

{{lookupIssues.size|0}}

Kind regards,
Bill

Beth Wilkinson
Contributor
August 25, 2023

Thank you so very much! Changing to {{lookupIssues}} returned information in the Teams chat, although it isn't actually a link but I can work on that! 

Greatly appreciate the help! I have been wracking my brain for 2 days on this, it's always the simplest fix, isn't it? 

Like Bill Sheboy likes this
Bill Sheboy
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.
August 25, 2023

Did it not add them as a hyperlink to the issue?  Perhaps check the markup needed for sending a message to Teams.

Beth Wilkinson
Contributor
August 25, 2023

Yes I was able to get it fixed! Thank you so much again! Thank you!!!

Like Bill Sheboy likes this
Bill Sheboy
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.
August 25, 2023

Awesome; I am glad to learn that helped!  Please consider marking this question as "answered" as that will help others in the community find solutions to similar needs faster.  Thanks!

Like Beth Wilkinson likes this

Suggest an answer

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

Atlassian Community Events