Hi @pastora - Unfortunately, JQL does not natively support comparing two dates. You could go about this two ways:
Use a 3rd party app like Scriptrunner - Here's a similar question:
Revisit how you're using Due Date - You could leverage an automation rule that triggers on issue creation and sets the Due Date to 5 days from creation. Then you can perform relative queries against the Due Date rather than trying to compare to another field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.