custom fields in user profile

Can I create a custom field in user profiles? For example, we would like to capture the user's title and/or the product for which the user is working on.

2 answers

2 votes

No, custom fields are for issues only.

The closest you can get off-the-shelf is that users can have properties associated with them, but only admins can set them, and you need a plugin to expose them outside the user profile/admin screen.

Thanks Nic! I am am an admin. Which plug in? Is it available for OnDemand?

Sorry, I really should have said - it's the "Jira Toolkit", which is a) free and b) available in OnDemand.

Thanks. We actually do have the Jira Toolkit. Still unable to figure out how to add a custom field to a user it adding a Key to the properties? I have tried that but it does not seem searchable or visible any place.

Ok, I'm a bit fuzzy on one part - I don't know if OnDemand admins can set user properties. It sounds like you've found it, and you can though :-)

But for the rest, there are two parts:

Yes, you are spot on about adding a key and value. Only admins can add them, only admins can view them, and on that basis, frankly, they're useless. Other people need to see the, but its admin-only. Pretty useless in general. (But add one anyway, for this test)

Now, the Jira toolkit kicks in - add a custom field of "user property field" as usual. Then set the default value to "reporter:key" or "assignee:key". Next time you go to issues that have it on-screen, you'll see whatever <key> you set, based on who the reporter or assignee is.

Unfortunately, it's still not searchable.

Hi Nic. I added a field. Made default value assignee:key. Added to bug screen. If unassigned, the field shows up on the bug screen with no data. Once I assign the bug to myself the field disappears from the screen. If I Unassign it, the field title shows up again.
If it's not searchable it's useless anyway. It's OK if only admins can edit it and see it. All our project managers are admins and are the ones who will use it. But we need to be able to see a list of all users in a specific department or assigned to a certain team. It's such a simple thing.
Do you know if this can be done in Tempo? We are currently evaluating Tempo. I know you can assign "Teams" in Tempo but can we query on them? And can we add custom fields for department?

Could I use post functions to update from that user property field to a new custom field? Then it would be visible and searchable, yes?

I grealize that it would only apply if an issue is actually assigned to somebody but that may be OK.

Hi. Any update for me?

I don't know Tempo well enough to give you a decent answer

Property fields on users are notoriously difficult to use - there simply isn't much functionality around them. Such as searching or displaying - the view field in the toolkit sort of solves the problem, but you then have the odd situation where you are looking at a user property via an issue, and the data is not actually directly related to the issue.

If you copy these things with post functions, you'll be making a fundamental change to the information you're manipulating - once you've copied it, the data will belong to the issue. If you change the user associated with it, or you change the property on that user, then your copied data on the issue won't match. That might well be what you want (I've got a function here that says "capture the group(s) of the person doing X to the issue - if they change jobs, and hence groups, we do NOT want to change the issues because we need to know in what capacity they did it in, not what their current role is). But you need to think all of this through.,

Only available for Server (not Cloud)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

47 views 0 2
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