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

Create Task automatically based on date with Jira Automation

Hello people,

I am trying to create an automation to create a task regularly by date.

The problem: I can't really use the CRON function because my colleague's requirement is that the task is created "2 weeks before the last Tuesday of the month".

With Cron, I could select the last Tuesday, but not "2 weeks before". I also can't use "every 2nd Tuesday" because sometimes there are five Tuesdays in a month, then the task would be created too early.

Is there any other way to fulfill this automation? I'm trying right now with a daily running rule, but I can't select the appropriate one. What I would need would be:

- Run rule every day
- If date = Two weeks before the last Tuesday of the month.
- Then create task with following subtasks

But I already can't manage to configure the second line.

Can someone help me? Is it possible at all?

Thanks and many greetings
Andreas Gehrmann

Translated with www.DeepL.com/Translator (free version)

 

1 answer

Not sure if helpful: don't get trapped into just trying to configure Jira for hours. Jira might be able to do it in some cases but not with you compromising.

'Task' Seems vague but if all you mean is creating a Jira ticket of type Task a viable option is enable ticket creation via email configuration in Jira.

Then can just send your self an email 2 weeks before the end of the month using either your email with an extension. Gmail + (Some Extension ex: boomerang) or in my case I would schedule a cronjob on an a different server to send the email. 

The email configuration on Jira would take care of the rest.

Hello Luis,

thank you for your answer. That's exactly my problem - I can't get it to work with cron, otherwise I could also use cron-based my rule in Jira automation to create my tasks.

"2 weeks before the end of the month" might work - "2 weeks before the last Tuesday of the month" I can't get it right with Cron, unfortunately.

Of course I can manually set a marker in the calendar when I want to create the tasks via automation, but it would be nicer to have a purely automatic process that creates + assigns the necessary tasks.

Then, unfortunately, there seems to be no answer for this particular requirement.

Thanks for your idea.

Many greetings
Andreas

 

Edit: Sorry, worked from PC of my wife, wrong account

Translated with www.DeepL.com/Translator (free version)

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

[Upcoming Webinar] Atlassian Cloud: Marketplace App Availability & Security

If you’re looking to migrate to Atlassian Cloud but feel unsure about what that means for your apps, we hear you. So, we’re planning a webinar this January to discuss topics related to our Cloud Mark...

574 views 0 6
Read article

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