Hi Sergio,
Unfortunately, there isn't a post function to change the rank of the issue.
However, there is a add-on that might have this option and that you can try for free.
JIRA Misc - that you can access in the below link - provides more options and features for the workflows.
I recommend you to test it and confirm if it works or not for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.