Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JSM portal user picker different for customers vs users

Hello community!

Maybe I am kind of blind, but cannot figure this out.

Customer is using JSM for both licenced users and customer with portal only access.

I got multiple request types, but all contains Jira User Picker fields

  • Requested for
  • Manager (supervisor)

Those field behave different for portal only access and for licensed users.

Can anyone explain this to me?

Here is attached screenshot, on the left side, licensed user. On the right side customer.

I am filling values into field via behaviors.

See difference? Left side names, right side keys. Left side icons, right side nothing. 

I am already using

ApplicationUser user = ComponentAccessor.getUserManager().getUserByName("systemRobotUser");
ComponentAccessor.getJiraAuthenticationContext().setLoggedInUser(user);

In my behavior to get working API calls to Insight etc. But cannot figure out different user pickers.

screenshot 92.png

2 answers

0 votes

I was seeing a similar difference and found that in order to get a user pick list and see the full display name of the selected user, the current user must meet the following two criteria:

1) Have a service desk license

2) Have Service Desk Agent permission on the project

If either of those conditions fail, the user can only enter users by their username (no picklist and no display value)

0 votes

No, you're not going mad or blind!  Nor are you doing anything wrong!

In a service-desk environment, customers are not expected to know the individuals who will be working to deal with their queries.  Nor are they expected to particularly care or make use of any information about the operative.

Imagine the case I had last week - I pinged my bank with a query in the app, they got in touch and there was a conversation.  With several people.  They all gave me their names, but only really for the current conversation.  As a customer, I don't actually care who they are (unless they're really good or really bad, but that'll go on the CSAT anyway).  I know I got passed between several people, I expected it, and it didn't matter.

So, your "portal access" people, the external customers, don't get to see your internal users names.

The oddity here is that when a "customer" here is an internal user who DOES have access to the list of internal users, Jira goes "yeah, might as well show them, as they could go into a non-JSD area of Jira and see them anyway"

Hi @Nic Brough _Adaptavist_ 

Well. Ok. But. Still.  I am in closed corporate network. All customers are from from NT domain. Well lets say all 10k users are from NT. But only 250 got Jira license, the rest are customers.

The strange thing is, that, as a customer - when I type manually name, I got search results with names and they will stay. 

Only when using behaviors and .setFieldValue(currentUser.key) there are different results for Customer and User. Maybe should I report that into yours Jira backlog?

Worth a try, definitely.  I suspect it might be "Jira customers and users are handled differently, SR can only work with what Jira gives it", but it's definitely something the developers will know.

Thanks, will ping them, cheers and have a nice day sir :-) 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

41,613 views 28 130
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you