Is it possible to change the order of workflow steps in the issue view?

Elke Perner March 7, 2013

In our issue view there are the possible workflow steps but we want to change the order of them.

It was great if we could show all steps in one row or just show the important steps on the view and the others in the menu of workflow.

In the attachment you will see what I mean.

BR Elke

4 answers

5 votes
Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2013

Elke,

To sum up what both of my collegues said above, to change how many buttons are displayed in the Issue View in JIRA you'll need to:

  1. Edit the <tt>jira-config.properties</tt> file in your JIRA Home Directory - if you don't have this file, you'll need to manually create it (see Advanced JIRA Configuration);
  2. Add the following property in a new line, and change the X to the number of transition buttons required <ins>before</ins>the 'Workflow' button:
    ops.bar.group.size.opsbar-transitions = X
    
  3. Save the updated <tt>jira-config.properties</tt> file;
  4. Restart JIRA.
    Please note that it is not possible to set this value to "0", as mentioned in this bug report: JRA-25264.

To change the order of transition buttons and 'workflow' menu items, you'll need to add the property key '<tt>opsbar-sequence</tt>' to each workflow transition that you wish to re-order. To do it, please:

  1. Access the workflow transition's properties - <tt>Administration » Workflows » 'Your Workflow' » 'Your Transitions' » View properties of this transition</tt>;
  2. Type <tt>opsbar-sequence</tt> into the 'Property Key' field in the 'Add New Property' section;
  3. In the Property Value field, type a positive integer value (starting at '0') that defines the order of the transition action on issue views (lower values equals the first transitions to appear);
  4. Click the Add button.

For each workflow transition, you may wish to use gaps in your <tt>opsbar-sequence</tt> property values (for example, 10, 20, 30, etc.) rather than consecutive values. This will allow you to 'insert' new workflow transitions more easily at a later point in time.

Also, more information about how to configure this can be found in our Customising workflow transitions on the 'view issue' page documentation.

I hope this helps, please let us know if you have any further doubts.

Best regards,
Matheus Fernandes

1 vote
MJ
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2013

Yes, it is possible to customize this. There is some detailed documention on how to do this available here.

Cheers

0 votes
William Crighton _CCC_
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.
July 21, 2014

We wrote a plugin to do this and believe it's worth it's price if you have a large installation. The plugin provides a drag and drop gui and allows reordering of workflow transitions within a step (reordering workflow transition steps is the next feature in our roadmap for the plugin).

You can find more out/install it/etc from the Marketplace page

We're currently offering a promotion for folks interested in our CCC Last Comment plugin where we include a free license to Transition Reorder X (what we call it) - had nearly $10K in sales of last comment since the promo went live and...nobody's bothered to download TRX. Strange when you can't even give it away...

-wc

0 votes
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2013

Hi Elke,

In order to add the amount of workflow buttons that are available in the issue view screen, you would have to modify your jira-config.properties file which you can find in your JIRA HOME directory (if it's not there, you would have to create it manually).

In the file, enter the following property :

ops.bar.group.size.opsbar-transitions

At the end of the property, enter the number of buttons that you would like to have, for example :

ops.bar.group.size.opsbar-transitions = 3

Cheers,

Joe

Suggest an answer

Log in or Sign up to answer