Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set "Log work" button on the panel of issue view instead of under "More"

Hi! 

Today I would like to share just one of the customisations related to the UI. Of course, it's a small AJS, AUI trick :)  

Still, most of my Jira instances are DC and Server. 

And quite often request to see the standard Log work button on the next panel. 

image.png

instead of here

image.png

 

That’s easy to set via console log:

snippet:

const logButton = '<a id="new-log-work" title="Log work" class="aui-button toolbar-trigger issueaction-log-work" href="/secure/CreateWorklog!default.jspa?id='+JIRA.Issue.getIssueId()+'" resolved=""><span class="trigger-label">Log Work</span></a>';
AJS.$('#opsbar-opsbar-operations').append(logButton); 

 

We can set that change into an Announcement banner or use some app,  like JSincluder.  You can in marketplace or in github.

 

Hope it helps.

Cheers,

Gonchik

0 comments

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you