Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,551,726
Community Members
 
Community Events
184
Community Groups

Weekends not selectable in a date time picker (portal)

Hello the community,

We have face many time the same problem: when submitting a ticket/request through the portal, clients choose the weekend when they are asked which date is desired. However, as we are not working the weekend, we would like to make it impossible (see attachment).

Is it a way to make impossible to select weekend dates in a custom field "Date time picker"? (and from the portal or not?)


Thank you for your help

1 answer

1 accepted

5 votes
Answer accepted
Callum Carlile _Automation Consultants_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 14, 2023

Hi @Dorian Schauwers 

Unfortunately Jira does not have much functionality to respect working days, so I do not believe it's possible to block these days out from being selected.

However you could create an automation rule which changes the date selected if it is a weekend:

The trigger would either be when the issue is created or when your date field is changed (I have used the due date field in my example, but this could be replaced with your Desired Deadline field.

You could then add in a couple of conditions using smart values to check if the selected date is a Saturday or a Sunday.

duedate1.png

If a Saturday or Sunday has been selected, then you can use another smart value in an action to edit the date field to set the date back to the Friday before the weekend (you could also use plusBusinessDays(1) here if you wanted to set it to the Monday rather than the Friday)duedate2.png

Hope this helps!

Hello

Yes, we were thinking implementing something similar if our need was not feasible. This functionality could really help us!

Thank you for your alternative and your help,

 

Dorian 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events