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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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

Behaviour to limit a date field

Rodrigo L
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 05, 2023

Hello, everyone.

I'm new to scriptrunner and I have to develop a project in jira at work.


I have an issuetype in which I have a date field. I have to restrict the choosable date based on a the following idea.


In my work, we have an idea that one cycle starts on 21/XX/YYYY and ends on 20/(XX+1)/YYYY.

For example, the day 23/02/2021: it is in the cycle 21/02/2021-20/03/2021.


For my restriction, I have to verify in which cycle I am today: for example, 05/05/2023 give my [21/04/2023 - 20/05/2023].

Then, the choosable dates should be anydate from 21/04/2023 to the future.

So, for today, the possible days should be 21/04/2023 to future.


Is it possible to do something like that at scriptrunner?




0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events