I need to create the same issue once a week. How do can I do this using Automation for JIRA?
This is such a common use case that we included a pre-defined template called "Recurring tasks". If you use this to create an automation rule, you'll get:
Project automation - Code Barrel JIRA 2016-09-20 11-25-42.png
This uses 2 rule components:
Using the create issue action, you can set any field necessary on the newly created issue. You could also include other actions to assign the issue to a user etc.
Thanks for your answer.
I've tried to create a rule to update a set of issues defined by a JQL query and when I choose to update an issue's Due Date it can only set a specific Date. Is it possible to shift the Due Dates, say, 1 weak ahead?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrey,
yes, you should be able to achieve this with date functions and smart values: http://docs.codebarrel.io/automation/index.html#/smart-fields/working-with-dates?id=date-functions-1
You'd probably need to set the due date to something like:
{{#issue.duedate}}func=plusDays(7){{/}}
Hope that helps!
Cheers,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andreas, thanks once again!
What about CurrentIssue.DueDate + 1 Day? Is it possible to set the value like that? Haven't found this in the document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Andrey,
Not 100% sure what you mean by current issue, but that should be just:
{{#issue.duedate}}func=plusDays(1){{/}}
Cheers,
Andreas
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.
Hi,
I am creating a rule to create a recurring task on the first of the month and then want to set the due date = 10 days after the create date.
In the scheduled trigger I have the CRON expression: 0 15 7 1 * ?
And for the Due Date do I use: {{#issue.duedate}}func=plusDays(10){{/}}
}
}
Thanks
Robert
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.