Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get a value from a user's custom field

Ole Markus Pedersen January 24, 2019

Hi!

What I want to do is assign users to JSD-groups depending on what 'Location' (custom field populated from Active Directory Attributes sync addon) they belong to.

 

Problem is I can't figure out how to get the value of the custom fields that belongs to a user(s).

 

Thanks!

1 answer

0 votes
Ivan Tovbin
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.
January 25, 2019

Hi @Ole Markus Pedersen,

Could you please clarify, 'Location' is a custom field or a user property?

Ole Markus Pedersen January 28, 2019

Hi @Ivan Tovbin,
it is a attribute that is synced from AD via "ACTIVE DIRECTORY ATTRIBUTES SYNC" to a custom field with the name "Location" in Jira.

I have found a way to do this. I'm using Scriptrunner app and I found out AD-sync has a manager for Scriptrunner that lets me get the fields.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events