I'm trying to create a way of reserving an office space. I have created a request type and issue with the following required fields:
Location
Start
End
The location is a list, the start and end fields are day and time.
I am trying to set up an automation rule to prevent anyone from entering the same location as another ticket with a similar date and time.
I think I can use JQL query or a compare to block the issue from being created, I'm just having trouble coming up with the query or figuring out how to compare.
The issue and request type are "Hoteling", I'm just not sure how to reference comparing if the new ticket I'm creating has the same location and similar start and end to block it from being created and make the user select a different location.
Any help would be greatly appreciated.