Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to set a due date using startOfWeek

Screen Shot 2022-06-01 at 10.41.08 AM.png

Here is basically what I'm trying to accomplish. If you move the issue Thursday-Monday it gets assigned to Tuesday and if you do it Tuesday or Wednesday it goes to thursday. I'm having issues getting my advanced compares / jql stuff to work :(

1 answer

1 accepted

2 votes
Answer accepted

Hi @Mitchell Mudd 

I wonder if instead you could just check the day of week directly, using format(), and then use the function withNextDayOfWeek() as it seems to do what your use case requires

{{now.withNextDayOfWeek("TUE")}} or {{now.withNextDayOfWeek("THU")}}

Kind regards,

Ahhhhh this is definitely one of those cases of "Should've read the documentation closer" haha! Thank you so much Bill! I got it working now :) Cheers

Like # people like this

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

49 views 1 3
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