Hey Everyone!
Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only).
Firstly, @Sam Harding has already written about our newest improvement: https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935#M448 so take a peek at that if branching is your thing. Otherwise, read on for more.
Well, there are four things to tell you about.
Goodbye CRON in scheduled trigger - new interface
New ‘Project created’ trigger
Support for date & date time fields in the Issue Condition
‘Comment edited’ trigger / ‘Edit comment’ action
Some have been out for a little while and some are brand new shiny improvements and features. Let’s start with our old friend ‘CRON’.
Up until now, if you wanted to get more granular with your scheduled rules, you would have to use a CRON expression. For those who don’t know what CRON is, count yourself lucky. Like Darth Vader, it is very powerful but ugly. It allows you to choose exact times to schedule rules by constructing an ‘expression.’ For example, 0 15 8 ? DEC MON 2021 = 8:15am on every Monday during December of 2021
We have made updates to the scheduled trigger so you can enjoy the power of CRON without needing to know CRON. The screenshot below describes it better than my words can. Just point and click.
Big props to @[deleted] for pulling this off, it wasn’t an easy job! This has been out in the wild for a little while so there is a good chance you’ve already seen this. If you have a rule that was setup with the old design then there will be an option for you to upgrade your rule to the new design.
This one is for all those Agile Admin and DevOps folks out there! There isn’t really too much to say about this one, it allows you to trigger an automation rule when a project is created. You can specify the project.
One important fact to note about this trigger is that it is only available for global rules by design, which makes sense when you think about it since it wouldn’t ever trigger if it was scoped to a particular project. It does have the ability to filter executions down to a project type and you can access the created project via the {{project}} smart value.
Now this one is close to my heart as the ‘Issue Condition’ has been my baby since we first launched it. Better again, it doesn’t keep me awake all night like my real baby. We’ve added support for comparing date and date time fields to the condition! We spent a while designing this and took some inspiration from the new Scheduled Trigger we mentioned before. Again, the goal is always to remove blockers so you or any project admin in your org can create automation rules without prior experience.
As you can see we’ve had to depart from the UX by adding some extra tabs. We felt this was the right direction to do so that the experience wasn’t too cluttered.
You now have the power to make comparisons against a certain time frame, such as 2 days ago, or against a date or time, such as 9:00 AM. The ability to compare against another field of the same type is also available as we do for other fields.
This change is rolling out right now, coming to a Jira Cloud instance near you shortly! Oh, one thing to note is that it isn’t possible currently to compare a Date to a Date time (or vice versa). There will be some coming updates to this so keep your eyes peeled!
We’ve shipped a new trigger for when a comment has been edited. That pretty much says it all!
Last but definitely not least, we come to the new action ‘Edit Comment’! The design for this has a bit more going on than the trigger. This action will, as the title suggests, edit a comment.
As you can see, there are few options provided that will make it a lot easier to find the comment that you want to edit without having to resort to smart values though we’ve provided that option as well.
That’s a fantastic question, you can find out more in our docs for these:
On behalf of the whole team we hope that you get some great value out of these and stay tuned for more!
Cheers,
Simmo.
Simmo
15 comments