Work descriprion screen customization

Hello

We'd like to customize work description (log work) screen in JIRA.

I assume that there is html file for this screen in JIRA install directory

Is it possible to detect the location of this file?

 

Thanks

Fyodor

 

 

 

1 answer

0 vote

No, there isn't.  The screens in JIRA are almost all dynamically built using templates (using webwork and velocity mostly) and it's often not as simple as "tweak one file", some screens are constructed from many.   There's little or no plain html in JIRA.

Question is what exactly do you want to do to the screen?  Your intention may change which files you want to edit...

 

Hello Nic Thank you for info. I'd to edit a "Log" button and screen content. if there are no plain html file, is it possible to detect what template is used for this screen? Fyodor

So what do you want to do to the "log" button? I ask because you can customise some things without touching the template files...

I'd like to make "work description" field required. My idea is to check this field when I am pressing "Log" and disable submit if this field is empty

Mmm, I wouldn't try to do that on the screen - it needs javascript, which you'd need to inject in more than just that screen, and if a user really doesn't want to do it, it's a doddle to bypass it. You want to do this server-side with a validator of some sort. I know the Tempo addon can make a worklog description mandatory and I think there are other addons that enable it too.

Hello Nic Unfortunately I am not able to install Tempo now. Is there any other addons with the same option? I created a script that makes work description field required and placed this script into announcement banner. Script works, however I'd like to place this script into screen, not in the banner, so I am asking about customization. Fyodor

I've always been able to use Tempo, so I've not looked for other plugins, so I can't really say, sorry. You'll need to dig out all the screens that the worklog description could be placed on and add the script to them, hacking the core of Jira to do that.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you