How to do automatic failover for PostgreSQL with application automatic switch?
Compare the JDBC documentation:


  To support simple connection fail-over it is possible to define multiple endpoints (host and port pairs) in the connection url separated by commas. The driver will try to once connect to each of them in order until the connection succeeds. If none succeed, a normal connection exception is thrown.
  
  The syntax for the connection url is:

jdbc:postgresql://host1:port1,host2:port2/database



So your URL is fine. If JIRA complains about it, that would be a JIRA bug.