Jira Rest Api获取完整的用户列表 [英] Jira Rest Api for getting full user list

查看:788
本文介绍了Jira Rest Api获取完整的用户列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取使用Jira Rest Apis的所有用户的列表.

How can I get the list of all users using Jira Rest Apis.

我尝试过:-

/rest/api/latest/user/search?username=

在这里,我尝试使用空白的用户名字符串,但没有返回完整的用户列表.仅当用户名长度至少为1时,我们才会获得一些结果.

Here I tried with blank username string but it doesn't return full user list. We only get some results when username is of at-least 1 length.

如何从Jira rest API的??中获取完整的用户列表?

How can I get full users list from Jira rest API's ??

推荐答案

我不认为Rest API具有此功能.据我所知,您将不得不选择其他方式,例如,您可以使用肥皂API 可以这样做,如此问题直接查询数据库.

I don't think the Rest API has this ability. As far as I know you'll have to choose a different way, for example you could use the Soap API to do so as shown in this question JIRA SOAP API : get the list of users. Another way might be querying the DB directly.

这篇关于Jira Rest Api获取完整的用户列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆