Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to display workflow button only when a certain button is clicked?Can I add button?

Jenny Alvarez
Contributor
October 21, 2020

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.

 

1 answer

0 votes
nina_schmidt
Community Champion
October 21, 2020

Hi @Jenny Alvarez 

This workflow should not be difficult to implement. And it should be feasible with Jira standard:

  1. Copy the workflow you want to change
  2. Add the transition if not already there
  3. Edit Transition screens Solved: Workflow transitions buttons hide
  4. Permission scheme
  5. Define role or group who is allowed to
  6. Add the new workflow

 

Here is an additional Docu, please Check out the comment from  Vinu:

Solved: How do I add an approval to a Jira software projec...

Jenny Alvarez
Contributor
October 22, 2020

Hi @nina_schmidt

 

Thank  you for your reply. However, as I've read Vinu's workaround, he created an "Approval" status and put condition in the transition.

I would like to add custom button (like "Approve") that is specific to a certain user group. That custom button once clicked will trigger/display the transition button(which is accessible to the testers) of the workflow.

Suggest an answer

Log in or Sign up to answer