我需要我们的票证系统请求追踪器来搜索所有的队列,并返回他们的电子邮件列表,有搜索查询吗?
wget -qO- --keep-session-cookies --save-cookies cookies.txt --post-data 'user=xx&pass=xx' "https://127.0.0.1/REST/1.0/search/queue?query="
此命令提供所有名称队列,但需要添加电子邮件。这有可能吗?
发布于 2019-12-03 15:28:16
是的,是这样的。使用以下命令:
wget -qO- --keep-session-cookies --save-cookies cookies.txt --post-data 'user=xx&pass=xx' "https://127.0.0.1/REST/1.0/search/queue?query=\&fields=CorrespondAddress,CommentAddress"
有关更多信息,请访问RT wiki。
https://stackoverflow.com/questions/59159173
复制相似问题