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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ScriptRunner - get dates between two dates Edited

Hi! I need to find dates (not days!) between two given dates. This is used in workLog created custom Listener

E.g.

start date = Sep 20

end date = Sep 25

result = Sep 20, Sep 21, Sep 22, Sep 23, Sep 24, Sep 25

Found this article but it show days between and I need dates

Thanks in advance!

1 answer

Hi Gleb,

You may find this article interesting. Its is a Java resource but the Java7 example can easily be refactored to Groovy with minor adjustments:

https://www.baeldung.com/java-between-dates 

 

Let me know if this helped!

Regards,

Jeroen

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

157 views 0 4
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