Hey Guys,
I'd like to create a monthly recurring issue with a due date that is 2 day later than the creation date of the current issue.
Could you help what advanced code I should write in?
Thanks in advance,
Robert
Hi Robert,
Yeah what you have works fine. You can also use this directly in the 'Due date' field in the simple form btw (no need for advanced JSON). So you can just paste this into the field:
{{#now}}func=plusDays(2).toBusinessDay(){{/}}
For more info on date functions, see our docs: https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/24903696/Working+with+Dates
Cheers,
Andreas
Hi Andreas,
cool, thanks a lot for the answer! :D
Regards,
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, what do you mean by monthly recurring issue and how is it related to the current issue? And what is the event when the reccuring issue must be created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alexey,
thanks for the quick reply, I solved it in the meantime:
{
"fields": {
"duedate" : "{{#now}}func=plusDays(2).toBusinessDay(){{/}}"
}
}
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.