I know that there is a REST endpoint /rest/api/2/project/{prject_key}/statuses which will return statuses for a project, in objects for a particular type. Knowing the project id and issue type id, need to get a list of statuses related to the issue type with SQL.
How to do it?
SQL is a last restort, the worst possible way to get information out of a Jira database. You really should avoid doing it this way.
However, if you insist, you'll need to
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.