Currently I can write a php curl statement to gather all of the avatarUrls from the json output. The problem is that right now unless i physically log in on my browser, if someone had a custom avatar that they uploaded, only the default avatar would get returned to me. Is there a different authentication system that would allow me to grab the custom avatarUrls, or any other way to fix this issue?
For privacy reasons, JIRA only displays avatars to logged-in users. You can authenticate the curl request in your script to get the proper images.HTTP basic authentication with the username and password of any user with JIRA access should work just fine.
You can use HTTP basic authentication with PHP curl by setting the CURLOPT_USERPWD option (see for example this StackOverflow answer).
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.