See Compatibility - Jira and the corresponding Atlassian Jira compatibility matrix to determine what versions are supported.
Jira Supported Platforms (Atlassian) and Jira Application Compatibility Matrix
Atlassian Support End of Life Policy
Compatibility for Atlassian Command Line Interface (CLI) generally follows the compatibility list above. More detailed compatibility can be found dependent on the ACLI release being used.