Forums

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

How to add a website link to a variable name that contains a smart value?

Mariia Rustamova April 11, 2024

How to add a website link to a variable name that contains a smart value?

1 answer

0 votes
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.
April 11, 2024

Hi @Mariia Rustamova 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

Please describe the problem you are trying to solve.  That will provide some context for what you are trying to implement.

Kind regards,
Bill

Mariia Rustamova April 11, 2024

@Bill Sheboy I'm going to input this link as it showed on the screenshot

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.
April 11, 2024

First thing, I recommend removing the specifics of your link from the post and image, as this is a public-facing community.  Or at least obfuscate them.

 

Why use a URL as a variable name?  I believe created variable names need to be alphabetic only as they are defined at rule-create time, and not at runtime.

Are you instead trying to access the content at that URL and then use that as the variable name?  If so...why?

Mariia Rustamova April 11, 2024

@Bill Sheboy It is important for me that thanks to the {{issue.Jira Task Result}} formula automatically displays a URL link for the variable. What else can I think of to launch? The name must contain only letters of the alphabet.

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.
April 11, 2024

What do you mean by "to launch" as the variable does not access the URL or the content at the URL location?

 

The variable name is only visible inside of the rule when it is being edited.

Again, what problem are you trying to solve by using a URL as a variable name?

Mariia Rustamova April 11, 2024

@Bill Sheboy I need that, thanks to the configured automation in "Telegram", the smart value {{issue.Jira Task Result}} is triggered and thanks to the substitution, that URL is displayed, as in the screenshot. 

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.
April 11, 2024

Jira does not have built-in support for the Telegram app.

If you are using a marketplace app for connection to Telegram and it is not working as expected, please contact the vendor for support.

Mariia Rustamova April 11, 2024

@Bill Sheboy Name substitution does not work for me when integrating smart values. I don't understand how to set this up. I create these formulas - but I don’t know where to write the necessary names. As a result of checking the automation of email, the name is not displayed at all. Help me, please

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.
April 11, 2024

I still do not understand the problem you are trying to solve by writing the rule.  That is, "why do this"?

Perhaps if you explain the problem to another person on your team, that will help you to understand the problem better...and what is not working as expected.

 

Please post a new image of your rule, concealing any specifics of the URL for your documents / company.

Please post an image of the audit log details showing the rule execution.

Mariia Rustamova April 11, 2024

@Bill Sheboy Automation by Email is carried out as part of the optimization of recruiting mailings. Take a look at the settings and the gained result: in the alert generated by email, the recipient's name is not displayed next to the greeting. But personalization is needed
Email Automation.JPG
Email Automation_1.JPG
Email Automation_2.JPG

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.
April 11, 2024

Thank you; that helps!

 

Smart values are name, spacing, and case-sensitive.  Often the smart value does not match the field's display name on the Jira pages.  

When an incorrect smart value is used, it returns null, as your email shows.

Please use this how-to article to identify the correct smart value (or custom field id) for your field, and then try using that in the rule: 

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Mariia Rustamova April 12, 2024

@Bill Sheboy This article doesn't help me at all because I don't understand the instructions it gives me. What and where should I watch and edit? My "Custom Values" are not presented as in the screenshots in the article. And they are not editable.

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.
April 12, 2024

Here is a simplified version of the instructions...

  • Your smart value is incorrect; that is why it is empty in the email body
  • Find an example Jira issue which has your field, SecondName
  • Look at your Jira URL in the browser
  • Open another browser tab, and enter this URL, replacing yourJiraUrl and yourIssueKey with your values
https://yourJiraUrl/rest/api/2/issue/yourIssueKey?expand=names
  • Search on the page to find your field.  This can be done with the Control-F find function of the browser.
  • Note the exact name and capitalization of your smart value
  • Update your rule to use that smart value
  • Re-test your rule

 

Suggest an answer

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

Atlassian Community Events