You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?