is it possible to set security level for work log?


Is it possible to set security level or restriction for work log? For example, we have group A and group B, both groups can browse project, but only one of them can browse log work. The second group can't browse log work, spent time, estimated hours and etc...

I try to use Behaviour plugin, but it doesn't work.

2 answers

0 votes

You can do that in the basic permissions stuff, you don't need behaviours. Go into the permission scheme for the project and look for the "worklog" section - you'll find you can enable browse/log/edit/delete for worklogs on a group/role basis (And some more powerful stuff, e.g. "only assignee can log work")

Sorry,but i see only:

Work On Issues

Edit Own Worklogs

Edit All Worklogs

Delete Own Worklogs

Delete All Worklogs

And all users with permission "Browse project" can browse worklog.

Oh, I'm sorry, I misunderstood the question. I read it as a statement of how things are working now and hence you were stuck on permissions.

If I've got it right this time, then your question is really "How do I ide worklogs from a group of users?".

Jira doesn't do field level security - if you can see the issue, you can see all the fields on it. That's why things like the behaviours plugin exist, they enable that sort of functionality. I think you've chosen the right way to do it, by choosing the behaviours plugin.

But you'll have to explain what "it doesn't work" means. (That's a bit like saying "my car doesn't work" to a mechanic over the 'phone, but not telling him whether the engine won't start, or a wheel has fallen off...) Tell us what you've tried to do with it and what the results are (does the view screen change at all?)

My english is not very well :)

I have problems with this line: FormField Field = getFieldById("???") I don't know which id or name i should write here.

Nah, your English is fine, it's my reading that needs work sometimes :-)

The getFieldById needs the ??? replaced with the ID for the custom field that gets generated by Jira as it builds the html for the screen. I can never remember what the rules are, so I always do it by digging through the page.

Open up the screen you want to hide the field on.

Press ctrl-u to open the source html of the page (Firefox and Chrome shortcut, can't remember if it's the same in IE - I gave up using that years ago, but you're looking for something like "view source" in the menus)

Go find the html for your field - use search to find the name of the field. For example, my "Story Points" field:


<tr id="rowForcustomfield_10362">

<td bgcolor="#f0f0f0" width="20%" valign="top"><b>Story Points:</b></td>

<td bgcolor="#ffffff" width="80%">





Look for the id tag in the block of code. For a custom field, you use the number after the _. For a system field, you'll find it's a word (e.g. resolution)

I know it.. Work log is a default field, but i don't know its name in base. I have tried: work log,log work, timespent and all combinations of words from these pages:

Also in my native language :)

that's why i have concluded that this plugin doesn't work..

it doesn't work :(

Does anybody has found a solution or a workaround for this problem? I tried to hide the WorkLog / TimeTracking field since hours and can't find a way to do so

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,521 views 15 21
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