Forums

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

Smart value issue.key

Dana Weinbaum
Contributor
February 11, 2024

Hi,

I'm using issue key in an automation: {{destinationissue.key}} and instead of getting only the key (ABC-12345) I get the key and the summary (ABC-12345 - this is the ticket's summary) as a link. 

In the documentation (https://confluence.atlassian.com/automation/smart-values-syntax-and-formatting-1141480622.html)  it seems that I should get the key only, so I wonder if this is a configuration issue, or perhaps I can suffix the smart value with a formatting term?

I wouldn't mind leaving it as is, but I'm trying to then perform a search that starts with "ABC-*" and I get zero results, I believe it's because of the fact that it's a link (or maybe there's another reason). 

Thanks

2 answers

1 vote
Ignacio Aredez GenAI Expert
Banned
February 11, 2024

Smart Value Formatting: Jira's standard behavior for {{destinationissue.key}} should only return the issue key. There isn't a known suffix or formatting term to isolate the key if it automatically appends a summary. Re-check the automation configuration for any unintended formatting.

Verify Automation Rule Configuration: Ensure there's no extra formatting being applied to the {{destinationissue.key}} smart value in your automation rule that might cause it to render as a hyperlink with the summary.

JQL Search Limitation: JQL does not support wildcard searches with "ABC-*". JQL's wildcard searches only work at the end of strings, not at the beginning or middle, which might explain why your search returns zero results.

Alternative Searching: Instead of using a pattern in issue keys, consider other attributes for filtering, such as project, issue type, or labels, to work around the limitation with JQL searches.

0 votes
John Funk
Community Champion
February 11, 2024

Hi Dana,

can you share some screenshots of your rule and the result when the rule is run?

Suggest an answer

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

Atlassian Community Events