Details
-
Bug
-
Status: Ready for Release
-
Major
-
Resolution: Unresolved
-
Xray DC 8.3.0
-
None
-
.
-
Standard
-
Description
Description
Xray JQL functions fails for Oracle databases. The datetime is not being properly handled in the SQL queries executed against the db.
Pre-conditions
Jira connected to an Oracle database.
How to reproduce
- Run the JQL function:
issue in testExecutionsWithCompletedTestRunsSince("2d")
Actual result/Attachments
Jira UI doesn't show results.
In the logs, we see ORA-01830: date format picture ends before converting entire input string:
2026-04-17 15:37:30,786+0000 http-nio-22348-exec-20 url: /rest/issueNav/1/issueTable; user: admin ERROR admin 937x840x1 dbaq3w 68.183.223.179 /rest/issueNav/1/issueTable [c.x.r.dao.impl.DAOContextImpl] Error executing SQL select statement java.sql.SQLDataException: ORA-01830: date format picture ends before converting entire input string at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494) at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:446) ...... at com.xpandit.raven.jqlfunc.TestExecutionsWithCompletedTestRunsSinceFunction.a(Unknown Source)