The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Spending some time setting up JIRA Automation which will save many man hours! Very exciting new feature.
Aiming to create a rule which 'When: Version released' it posts a message to our #releases slack channel.
Is it possible to retrieve the release notes in text format within the 'Send Slack message' actions Message box?
Yes, you can do that.
Trigger on the version release and then use JQL to get the associated issues, if you want to include those. To see what is available for the version smart value, please see:
https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/
If you cannot see what you want, consider using the REST API to grab an example version and see if other attributes are available:
https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/
Best regards,
Bill
@William Sheboy
For the JQL for the associated issues, what function can I use to query for only the version which was released, or does the trigger sort that out for me?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Romano
The trigger provides the version that you use in the query. Here is what worked for me in a test...
project = myProject AND fixVersion = '{{version.name}}'
Release {{version.name}} included these items:
<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}}</a>: {{summary}}</li>{{/}}
</ul>
Best regards,
Bill
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On release, I am trying to post a comment to the JIRA released but on saving the below it throws an error. Any clues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Avril Pinto -- Welcome to the Atlassian Community!
What is the error message that shows next to that trigger?
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying that same content in an email content section.
Release {{version.name}} included these items:
<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}}</a>: {{summary}}</li>
{{/}}
</ul>
I get the first line "Release..." but not the list. Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Joe Miller
Please post an image of your complete rule and the audit log showing the details where the rule did not work as expected. That will provide context for the community to comment.
Without that information, I can hypothesize, either:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked. It was the lookup. How would I make this a global automation if I'm referencing project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Joe, I am glad to learn that helped.
Global/multi-project rules may be created by a site admin, and they can reference all or specific projects. Some things to note if you use such rules:
Thanks,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.