Hi.
I am trying to create automation rule where I send email each time a new release is released.
I need to put release version link i nthe email body.
I know that for Issue it is <a href="{{issue.url}}">{{issue.key}}</a>
But what is it for release version?
Hi @Andrzej Hull ,
Here is a more detailed description of valid smart values for versions:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--version--
The version itself is not an issue in jira. There is no link provided (according to the documentation). As it looks for me the "url" is kinda put together with the ID of the version so I guess it can be built with gathering the id and work with string concatenation.
Please let me know if this could give helpful input.
Best
Stefan
From what I can read, it is not possible to place release/vfixVersion link in the email body.
Am I correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not directly. The release/version doesn‘t have a dedicated smart value „url“.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I got it right the url shown when opening a version is built something like:
<your_jira_domain>/<version_ID>/....
As the versionID could be generated via smart value from the automation rule I guess it could worl to concatenate a string to generate the url. (didn‘t test this, that‘s just an approach I would give a shot)
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to use variable in HTML expression?
It would be some kind of concatenation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you mean:
<a href="http://..../.../{{any.smart value}}/andSoOn.html">Release</a>
As far as I know this should work.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You‘re welcome 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This depends on your use case. As this is an old and already resolved post and in case it doesn‘t provide you the answer i would recommend to open a new question describing exactly or use case you would like to solve.
This gives the community more input and makes it easier for us to provide a better and more accurate solution.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am actually working on the same use case as this post where I want to get the URL of the fixed version linked to the issue. The problem here I face is that I am trying to figure out what URL you all utilized to input in the email to provide the release link?
Would it of been this one?
<a href="https://company specific name.atlassian.net/projects/EC/versions/10181/tab/release-report-all-issues>Release</a>
Would the italicized number the only smart value I need to make it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used the above and substituted the version ID 10181 with {{version.id}} and it worked fine
The "EC" in the path needs to be changed to your jira project ID, but if you cut and paste the basic link from your Jira Release page then it's easy just to append the {{version.id}} instead of the ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Community!!
Please find the Smart Value documentation for all the references
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks but this doesn't really help.
I can't find exact answer in the documentation.
Could you please provide this little piece of expression?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.