如何通过 SOAP 或其他方式获取 Jira 用户的头像/图像
我想显示在 Jira 项目中注册的开发人员的用户头像/图像。 Jira 有一个 Web 服务 API(我的版本是 4.2),但不幸的是我找不到提取用户头像的操作。只有提取项目头像的操作。
有人知道如何实现这一目标吗?
也可以通过 URL 访问用户头像,但我需要先进行身份验证。我有凭据(否则我将无法进行其他 SOAP 调用)并且基本领域身份验证应该可以工作,但没有。我总是被抛回登录 JSP。我还没有从这里开始调查,所以如果有人通过 SOAP 有更清晰的想法,或者无论如何这应该在 Jira 中工作,请提前感谢您!
干杯,维德兰
I'd like to display the user avatars/images of developers registered with a Jira project. Jira has a web service API (my version is 4.2), but unfortunately I can't find an action that would extract the user avatar. There are just actions to extract project avatars.
Does anybody happen to know how to achieve this?
The user avatar can also be reached via an URL, but I need to authenticate first. I have the credentials (otherwise I wouldn't be able to make my other SOAP calls) and basic realm authentication should work, but doesn't. I am always thrown back to a login JSP. I haven't investigated from here on yet, so if someone has a cleaner idea through SOAP or however this is supposed to work in Jira thank you in advance!
Cheers, Vedran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 REST API 获取它,例如 GET http://jira。 atlassian.com/rest/api/latest/user?username=lmiranda(您需要登录才能访问 JIRA 中的用户信息)。
响应示例:
有关详细信息,请参阅 REST API 文档。
You can get it using the REST API, e.g. GET http://jira.atlassian.com/rest/api/latest/user?username=lmiranda (you need to be logged in to access user information in JIRA).
Example response:
See the REST API Documentation for more info.