Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

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.

So, what is new?

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’.

Scheduled Trigger - goodbye 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.

c1.png

Big props to @Scott Harwood 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.

Project Created Trigger

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.

 

c2.png

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.

Issue Condition - Support for Date & Date Time fields

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.

c3.pngc4.png

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!

Comment Edited trigger

We’ve shipped a new trigger for when a comment has been edited. That pretty much says it all!

c5.png

Edit Comment Action

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.

c6.png

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.

c7.png

Where can I find out more about these?

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.

3 comments

Curt Holley Community Leader Jul 14, 2021

These are all great new features....particularly the CRONless schedule for someone in the southern hemisphere/NZ time zone.

Taranjeet Singh Community Leader Jul 14, 2021

Thanks for sharing these new Jira Automation features, @Simeon Ross !

I love the move away from CRON :)

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you