Is it possible to move the Log Work menu item from the More Actions Menu to Button?

Eric Blair November 17, 2011

We'd like to take the Log Work menu item from the More Actions menu and make it into a Button. This would make it more visible and readily accessible so people don't easily forget to enter their time.

Thanks!

5 answers

2 votes
Jobin Kuruvilla [Adaptavist]
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 17, 2011

There is a web section for 'Log Work' in system-issueoperations-plugin.xml under WEB-INF/classes folder. You can change the weight property of it to '5' and the Log Work will appear on the top!

<web-section key="operations-work" name="Ops Bar Operations Work Section" location="opsbar-operations" i18n-name-key="webfragments.view.issue.opsbar.operations.work" weight="5"/>

You should restart JIRA for this to be effective.

Eric Blair November 17, 2011

Thank you Jobin! by "on the top" do you mean that is will just appear at the top of the menu, but not as a button, correct?

Jobin Kuruvilla [Adaptavist]
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 17, 2011

If you do this, it will appear as a button because the first few items in the menu will appear as a button. You can however change how many items should appear as buttons or change the ordering of elements so that the 'Log Work' doesn't appear in that list.

In short, play with the ordering and you can add it to the top.

Eric Blair November 17, 2011

Thanks! Ok, one last question. Is this configurable by Project?

Jobin Kuruvilla [Adaptavist]
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 17, 2011

No it's not. It is actually a workaround ;) You can add a new operation for the project and push it up but that is a new plugin!

Frank Schönheit October 17, 2013

@Jobin:

You can however change how many items should appear as buttons

How's that done, please? I managed to move that "Log Work" item (the whole web-section, effectively, consisting of one item) to the top, so it appears as button. But then the item which previously appeared as button ("Assign") moved to the drop-down menu, which isn't really the desired result.

Jobin Kuruvilla [Adaptavist]
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.
October 18, 2013
Frank Schönheit October 21, 2013

Frank, check this out: https://answers.atlassian.com/questions/142540/how-to-change-the-workflow-buttons-on-the-issue-screen

Ah! Abstracting from "transitions" to "operations" in that article indeed gives the solution to that. Thanks a lot!

Tal Ben Basat January 4, 2018

@Jobin Kuruvilla [Adaptavist]
is it possible in the cloud version?

Jobin Kuruvilla [Adaptavist]
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.
January 4, 2018

@Tal Ben BasatNo, its not.

1 vote
Ashley Mendes October 19, 2016

I know it's been asked before, but it's been a while since anyone was on this thread.  Has anyone found a way to make "Log Work" its own button for JIRA On Demand?

0 votes
Andrej Kvasnica March 9, 2015

In JIRA-6.3 you have to increase the amount of displayed operations adding

ops.bar.group.size.opsbar-operations=2

to data/jira-config.properties file, and change weight from 20 to 7 in section

 

<web-section key="operations-work" name="Ops Bar Operations Work Section" location="opsbar-operations" i18n-name-key="webfragments.view.issue.opsbar.operations.work" weight="7"/>

within app/atlassian-jira/WEB-INF/classes/system-issueoperations-plugin.xml file.

After JIRA restart you'll see "log work" as button next to "assign".

Adam Austin December 1, 2015

This worked nicely for us using JIRA 7, however, the Log Work REPLACED the Assign button in the standard view issue screen, which is fine for us, as we do not need to see them both. Note that we had to create the jira-config/properties file, in the /var/atlassian/application-data/jira/data/ directory.

0 votes
Marcus Culver January 28, 2014

Hi,

Does anyone know if there is something like this for on-demand users or if Atlassian would happily conduct this change to a customers instance?

0 votes
Frank Schönheit October 16, 2013

@Jobin:

You can however change how many items should appear as buttons

How's that done, please? I managed to move that "Log Work" item (the whole web-section, effectively, consisting of one item) to the top, so it appears as button. But then the item which previously appeared as button ("Assign") moved to the drop-down menu, which isn't really the desired result.

Suggest an answer

Log in or Sign up to answer