Calculating date plus 1

Robin Stemmers
Contributor
July 14, 2021

Hi All

This feels like a basic request, but somehow I am not getting it right.

I have a due date - 15 July2021

I want an email sent out 1 business day after due date

When i set up my jql query it keeps throwing an error. - What am i doing wrong?

 

{{issue.dueDate}}.plusBusinessDays(1)}}

 

 

1 answer

0 votes
Carlos Faddul
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2021

@Robin Stemmers  you're using smart values in JQL (unfortunately) it not support on JQL =(

If you are using a automation to send this email with trigger in schedule.

Then you just need to change your smart values to

{{issue.duedate.plusBusinessDays(1)}}

 I hope this helps :)

Robin Stemmers
Contributor
July 20, 2021

Hello @Carlos Faddul 

 

Thank you for this.  I will try it 

Carlos Faddul
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2021

@Robin Stemmers  if works marks as accepted answer :D

Robin Stemmers
Contributor
July 24, 2021

Hi

I tried your option, but it didn't work for me.

I got this solution which I think will work.

 

issuetype = "NameOfIssueType" AND status = "In Progress" AND due >= "0" AND due <= 1d

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events