Forums

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

Error in JIRA smart value documentation

Abby
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!
April 16, 2020

On this page https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/, under attachment, the smart value for the file name is listed as {{attachment.filetype}}.

That smart value does not produce anything for me when I try to use it in automation rules. After some experimentation, I was able to get the file name using {{attachment.filename}}.

Is this an error in the documentation?

3 answers

2 accepted

0 votes
Answer accepted
Kevin Bui
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2020

Hi @Abby,

This was indeed an error, and I've fixed it in our docs. Thanks so much for letting us know!

 

Cheers,

Kevin

0 votes
Answer accepted
John McKiernan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2020

Hi @Abby ,

Thanks for calling this out. You are dead right, this is an error and you have saved other customers time solving this! I have asked Kevin on the team to update the docs to reflect this.

Thanks John also for the heads up :) 

On a side note - the smart values are probably the last remaining 'complex' part of automation so we are working on a few ideas to improve upon it. I will keep you in the loop when we move this forward. 

Thanks and enjoy your weekends.

John 

Abby
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!
April 18, 2020

Thanks so much @John McKiernan ! I’d love to hear what solutions you guys come up with for smart value help. I was just sending myself tons of emails to test what the values resolved to, but found it’s quicker to make a temporary web hook step, then use the body of the request to find out what smart values are resolving to for a particular ticket. Definitely not very user friendly yet in this area (unlike rest of JIRA automation which is awesome!). Currently trying to figure out how to back up just our attachments by uploading via webook to our digital asset mgmt tool (not sure if possible).

John McKiernan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2020

Hi @Abby ,

No problem. The team are actually exploring ways to make this easier at the moment including an auto-complete and a smart value builder. I will have more news on this soon which I know will please many who battle smart values daily! 

In the meantime, here are two resources that might help:

1) This is a webinar Andreas I ran a year or so ago where we walk through how to debug smart values. I have set the link to the most appropiate time for you. ~5 mins long: https://youtu.be/V4oKCRRvyRU?t=1519

2) Andreas wrote this blog which walks you through best steps too: https://blog.codebarrel.io/how-to-use-smart-values-in-automation-for-jira-15edddfb8c7c

 

I'll let you know once we have something new to update with regards to Smart values. 

Thanks!

John

0 votes
John Funk
Community Champion
April 16, 2020

Suggest an answer

Log in or Sign up to answer