Fetch all user picker fields from an issue

Christian Selbrede
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.
August 26, 2012

Is there a way to fetch all user picker fields from an issue?

For example, I know how to fetch all custom fields and regular fields from an issue using the FieldManager component. How do I then filter these fields based on if they are user pickers or not?

1 answer

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
August 26, 2012

JIRA finds all user picker fields by checking if a custom field implements UserField interface all not! If it does, then the field will appear under user fields in View Issue page. Might work for you too.

Suggest an answer

Log in or Sign up to answer