How to create story on 2nd business day of month using JIRA Automation
Hey @Kiran Punjabi
Welcome to Atlassian Community.
You can create an automation rule with the Schedule trigger, using Cron expression in the Advanced scheduling:
Trigger: Schedule: Cron Expression: 0 0 9 2 * ? (This will create a work item at 9 am on the 2nd day of every month)
Action: Create Work Item
You may refer to this document for details on the cron expression:
Thanks!
This did not help. I am looking for story to be created on 2nd weekday of the month, i.e. 2nd business day. Thanks Karan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe we don't have a way to define working days in automation schedule.
You can use basic scheduling to set it for 2nd Monday or 2nd Wednesday of each month:
However, I look forward to suggestions from other community members as well.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kiran Punjabi -- Welcome to the Atlassian Community!
Adding to the suggestion from @Karan Sachdev ...
smart values condition
The rule will run every day, but only proceed when the date matches the condition. And please note well: this will not detect any non-working holidays.
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.
Thanks a lot @Bill Sheboy . Your suggestion helped. The solution worked. Thank you so much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome; I am glad to learn it is working! Please consider marking this question as "answered" to help others with a similar need find solutions faster. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps you could also something with the Smart Value "firstBusinessDayOf Month"
Returns the first business day of the month. Business days are considered to be Monday to Friday, 9am to 6pm.
{{now.firstBusinessDayOfMonth}}
You will need this to calculate the difference:
Date difference {{[date1].diff([date2]).[unit]}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So , what I need is that automatically on every 2nd working day ie (2nd weekday of the month), a JIRA story to be created at 9 am.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, if your date difference between now amd the firstBusinessDayOfMonth is +1, then it is the second business day. So the "unit" in this case would be "businessDays". Have you tried it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, wrong question, cannot erase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about comparing the current date to a fixed set of dates that you would regularly renew, e.g. yearly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.