We can get list of available transitions by below:
GET /rest/api/2/issue/{issueIdOrKey}/transitions
And it will give list of available transitions.
But I want transition id for specific given 'status name/id',
So, I can use that transition id in "POST /rest/api/2/issue/{issueIdOrKey}/transitions".
And with use of above ,I want to update transition of the issue.
=> Actually I want to update transition of the issue by 'Status name', if there's another way besides above POST API, then please mentions that also.