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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to show additional information about users on tickets by using the User Property custom field

Sometimes on a daily basis, we need to view information about users/collaborators that are not visible on their Atlassian account profile, e.g., their phone number. Also, some users may set some details as private, as their location, for example.

In this article, I’ll share with you how to use the User Properties on User management along with the User Property custom field to show details about users on the ticket view.

:warning:  Note 1: You need to be a Jira administrator and a Site administrator to perform the below steps.

:warning: Note 2: This is for company-managed projects only.


1. Adding properties to a user profile

1. As a site-admin, go to Cog icon > User management.

1.png

2. From the users' page, click on the user you want to add the properties.

3. Click on ººº > Edit Jira properties.

2.png

4. Add the necessary values on Key and Value and click on Add.

3.png


2. Creating the custom field and associating it to the screens

1. As a Jira administrator, go to Cog icon > Issues > Custom fields > Create custom field > Advanced.

2. Select User Property Field (< 255 characters) > Next > Add a name > Create.

4.png

3. On the next page, select the screens you want this field to be visible and click on  Update.

4. Follow the same steps to create fields for each property.


3. Setting the default value

1. From the Custom fields page, search for the fields you created.

2. Click on ººº > Context and default value.

5.png

3. Click on Edit default value.

6.png

 

4. In this example, I’m using the system field Assignee to pull these details, so for the value to be visible on the issue view you need to use:

Custom_Field_Name:Property_Key

The property key is the name of the property we set on the user profile (Step 1.4).

7.png

5. Click on Set default and then follow the same steps for the other fields.

8.png


4. How the field works on the issue view

In the example, I used the Assignee custom field, so when the ticket is assigned to a user/agent, both fields will be automatically updated with the properties.

It works when the ticket is assigned at the moment it's created or if the assignee is changed after that.

9.png

10.gif


5. Links

15 comments

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 05, 2022

@Angélica Luz , this is a great article. Thank you so much for sharing. I’m going to play with it a bit hopefully today. Obviously one of the key things that is missing here (??) is support in JSM for customers. IMO, the need is greater on external customers vs. internal customers.

Like Angélica Luz likes this
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 05, 2022

Thank you @Jack Brickey

To use this feature for external customers, the only workaround, for now, is to migrate their accounts to Atlassian account.

Ability to store additional information about customers 

Like Jack Brickey likes this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 05, 2022

Question for you @Angélica Luz , with Insights (is it still called that?) in Premium is it possible to treat customer contact info as assets so they can be added to each issue the customer reports? In my mind I was just looking at it like this…

customer laptop: MacBook Pro asset tag - 1234

customer country: Brazil

customer phone: 5555555555

Like Angélica Luz likes this
Mykenna Cepek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 05, 2022

It looks like these fields could be (accidentally, or even purposely) edited, per-issue. Is that right?

Might that be confusing?

Like Angélica Luz likes this
Bruno Altenhofen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 05, 2022

Awesome!!

Like Angélica Luz likes this

@Mykenna Cepek , these fields are read-only so they field can't be edited per-issue.

@Angélica Luz thanks for sharing! I wish there were an automated way to populate user properties from externals sources, currently this can be done manually or using API but maybe this could be part of Atlassian Access integration pulling from Okta, Azure AD ... ?

Like # people like this
Kristin Lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 05, 2022

I just added a link to this article on my personal Confluence instance because I know I'll be using this in the future! Great write up

Like Angélica Luz likes this
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 06, 2022

@Jack Brickey It would be necessary to create an object for each customer and use automation to pull this information when they create a ticket. Depending on the number of customer accounts, it would be possible to import a CSV file with their name, phone number, account ID, and any other necessary information.

@Mykenna Cepek The field is read-only, but due to a bug, they are editable on the new issue view. 

@Italo Qualisoni The properties added to the user profile via User management is not the same as the properties added via API. Also, there are no suggestions regarding automatically adding properties via identity providers.

Like Jack Brickey likes this

Thanks for the great contribution @Angélica Luz 

I have tried the whole thing and it works.
However, my question now is how can I use the value for automation?
I have tried everything possible:
{{reporter.phone}}
{{reporter:phone}}
{{issue.reporter.phone}}
{{issue.reporter:phone}}
{{issue.customfield_10170.value}}
and many more.
Could you maybe answer the question for me?

For all:

I have now figured it out on my own.
Go into your ticket and use the developer console to see what ID the custom field has.
For me it was: customfield_10170
You will get the value with: {{customfield_10170}}

:)

Great article! Thank you, very much! It works like a charm! 

I'm wondering whether can I use it based on the current user. 

For example, I need to have data on the current users (who works with the issue) in my custom field. I tried a "current user" but no success.

Any thoughts? 

Thank you

Yatish Madhav
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 20, 2023

Thanks for this @Angélica Luz  - looks like a great work around. I will look in details and see comments soon.

On quick glance, The only 2 things I dont like about this solution is that it needs to be added through fields and fields need to take up screen estate on the issue view

And the other thing is that it needs to be set as teh default option based on another field like assignee or reporter. If the user properties/entites are set on each user, it would be super to see i on the hove profile view when hovering over the assignee / reporter or other user field.

Thanks though. Looking forward to playing iwth this

Like # people like this

Hello @Angélica Luz

Could it be possible to set this on worklogauthor instead of assignee or reporter?

Much appreciated.

Best regards,

Chris Schneider
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 02, 2023

Thanks for that description. How should I implement the Phone-number-example with 1800+ users? Do you expect me to manage that manually?

It would be nice to have a way to get the data from Azure AD into Atlassian Access and then show the details on the user popup on every issue.

Atlassian: stop thinking in manual steps, start thinking for automated processes in bigger environments...

Like # people like this

Hi @Chris Schneider ,

Use your preferred programming language to query from AAD for the 1800+ users.

Then push the data to Jira Cloud with this REST API:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties/#api-rest-api-3-user-properties-propertykey-put

Your code still needs to use an account which has site-admin privilege.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events