What I want to do is to create an "Approval" button in "View Screen". Limited users (like managers) can see the button in "View Screen".
Once the "Approval" button is clicked, the workflow transition button "Complete" will be displayed and can be clicked to change workflow status.
I know we can just create workflow status either "Approved" or "Done" with "Approve" transition button. But I do not want to add another "Approved" status or in case of "Done", I want to have that restriction that users cannot click the "Complete" button since it was not approved yet.
Question: How can I make a "Approve" button with user limitation to be able display the workflow transition button "Complete"? Is this possible?
Additional info: I use Jira Software Server. I have JS Scriptrunner plug in as well.