You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and 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.
instead of here
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
Gonchik Tsymzhitov
Solution architect | DevOps
:)
Cyprus, Limassol
174 accepted answers
0 comments