I'd like to use smart values outside automation rule. Is there a way to use them in JQL or Jira Expressions?
Check this thread Solved: Jira automation, can I use smart values with JQL s... (atlassian.com)
Hope this helps!
Thank you for answering. I saw this thread, but unfortunately this will not help us out, since it is still related to automation.
We'd like to use smart values for other topic, not automation rules.
Thank you,
Renata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you give an example of what you're trying to achieve?
JQL queries themselves are not isolated to just automation rules so if they work in an automation rule, they will also work in something like advanced issue search for example.
If you give us more information to go off of we might be able to help you better.
Kind Regards,
Ash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ash Yadav
We thought about JQL combined with Smart Values as an alternative (our main goal is using Smart Values outside Automation).
When we tried testing if JQL can use Smart Values, we saw that it gives us an error:
"The character '{' is a reserved JQL character. You must enclose it in a string or use the escape '\u007b' instead. (line 1, character 1)"
Is there a way to incorporate Smart Values in JQL in another way? Can you give me an example to follow?
Basically we're trying to create an input field, that uses Smart Values in order to save preferences for a feature in our plugin.
For example, we'd like to store, in ProjectSettings Page in an input type of field, information like {{issue.key}}{{customfield_xxxx.value}}. This information should then be available in IssuePage for each issue.
Hope this makes my intention to use Smart Values outside Automation clearer,
Renata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For:
"The character '{' is a reserved JQL character. You must enclose it in a string or use the escape '\u007b' instead. (line 1, character 1)"
Usually for smart values you'd enclose them with quotations like '{{{issue.key}}' Within a JQL search.
You would still have to manually check your JQL to make sure they are valid.
I don't 100% follow what you're trying to achieve but I would be starting with this KB: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
And working on from there.
KR,
Ash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.