Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Find issue collisions

Sebastian Krzewiński
Community Champion
November 9, 2021

Hi All

 

My company needs is to create issues in Jira where each issue will present one technical break. Each issue have two date/time fields where users need to add start and finish of technical break.

I want to find solutions to catch issues where two or more technical breaks are set on the same time.

Do you know something which will cover my needs?

Regards,

Seba

2 answers

1 accepted

0 votes
Answer accepted
Aron Gombas _Midori_
Community Champion
November 11, 2021

I'd develop a Groovy script for this and run that in every 5 minutes or something:

  • load all technical breaks (or just the "open" ones to reduce the work)
  • iterate over those and maintain a list of time periods
    • test if the start date is within any existing time period? if yes -> problem, add a label "xyz" to the issue
    • test if the end date is within any existing time period? if yes -> problem, add a label "xyz" to the issue
    • add the time period defined by start and end date of the current break to the list

Please I'd create a saved filter that searches for the issues with "xyz". You could put that list to a dashboard and even subscribe people to it!

Sebastian Krzewiński
Community Champion
November 30, 2021

Thanks for tips! I will try figure out that way :)

0 votes
Marcel Kleinlütke
Contributor
November 10, 2021

Automator?

 

I am looking for a solution for a somehow similiar problem...
I have to dates. start and end date and a new created issue is suppossed to notificate if there is another issue in the same component within the same date range....

Suggest an answer

Log in or Sign up to answer