Display a Specific Status also as a Button

Mark Gordon November 7, 2014

JIRA,

As you know, the workflow statuses are also displayed in the workflow dropdown.

In our case we have a status called Closed.  The users would like, "when closed is available in the  workflow", to also show Closed as a button as well as in the dropdown.

is there a way of doing this and not affect the other default buttons that JIRA shows?

5 answers

1 accepted

0 votes
Answer accepted
Mark Gordon November 10, 2014

Peter,

Thanks.

So:

1 - We have to engage opsbar-sequence in the configutation first.

2 - If we do not use opsbar-squence for a different Status property, will that other status property still showup INSIDE the workflow dropdown.

3 - If we do not use opsbar-squence for a different Status property, will that other status property be hidden on the main screen.

4 - Does using opsbar-squence impact ANYTHING inside the workflow dropdown?
5 - Is it correct to say that the showing/hiding of buttons is still regulated by the workflow when you use opsbar-squence? 

 

Peter Bengov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2014

1. Yes. 2. All unchanged status transitions will remain in the same order they are now. 3. See answer to 2 + You can also follow [https://confluence.atlassian.com/display/JIRA052/Configuring+Workflow#ConfiguringWorkflow-Changingthenumberoftransitionbuttons|this] to add the ops.bar.group.size.opsbar-transitions setting in the jira-config.properties file in your <jirahome> directory. This will set a default of workflow icons to show (not you are set to a default of 2, you can increase that to a larger number, thus showing more icons. 4. Yes. If your other transitions like Duplicate or Resolved have this value, they will still get ordered by this value. 5. Indeed. It's a dynamic status-based setting.

Mark Gordon November 11, 2014

Peter, Many thanks!!!!! This answered it. We will give it a try. If we have issues, I will post another question.

0 votes
Peter Bengov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2014

Got ya.

What you should do is go to the relevant workflow, click on the Close Ticket transition. Then go to the properties of this transition. Now you will set the order for this button on all screens it is relevant (since Close Ticket probably shows only when you are in Resolved status, this will be relevant for a specific button layout only).

The value you should insert for "Property Key" is "opsbar-sequence" and the value for "Property Value" will be something like 1. This will make the Close Ticket button show first (on the left, before Assigned).

 If you want to set in between Assigned and In Progress, than you will have to set a relevant value for these buttons (transitions) too. For example: setting Assigned with opsbar-sequence = 10, Closed Ticket with opsbar-sequence = 20 and In Progress with opsbar-sequence = 30.

It is generally recommended to use these value differences of 10 so if you'll have more transitions added on later in your workflow lifestyle, you won't need to change the existing values, just set relevant values for new transitions (like 15, for a button in between Assigned and Close Ticket).

Enjoy.

0 votes
Mark Gordon November 9, 2014

response below as an answer - could not attach in the comment box.

0 votes
Mark Gordon November 9, 2014

Peter, Attached shows an example of what we have. You will see that Close Ticket appears in the drop down.

That Close Ticket entry only appears when the ticket has been moved to the Resolved Status in our workflow.

What we want is away to ALSO show a button "Close Ticket" next to one of the other buttons (ie. In Progress, Workflow). Client wants to not have to click the dropdown to get to Close Ticket - they want a button.

Thus the new button must only be usable/visible when the Close Ticket option is available in the dropdown.ClosebuttonNeed.jpg

0 votes
Peter Bengov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2014

Hey Mark, can you add a screenshot of what you mean? It would help providing a solution to your problem.

Suggest an answer

Log in or Sign up to answer