How to define due date field by math expression?

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,


3 answers

2 accepted

0 vote
Alexey Matveev Community Champion Nov 23, 2017

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?

0 vote
Andreas Knecht Community Champion Nov 23, 2017

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:


For more info on date functions, see our docs:


Hi Andreas,

cool, thanks a lot for the answer! :D



Hello Alexey,


thanks for the quick reply, I solved it in the meantime:


"fields": {
"duedate" : "{{#now}}func=plusDays(2).toBusinessDay(){{/}}"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

72 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you