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!
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.
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?
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.
Thanks! Ok, one last question. Is this configurable by Project?
@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.
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?
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".
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.
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?
It looks like you're new here. Sign in or register to get started.