当前位置:Gxlcms > 数据库问题 > Access Jira RESTful API by cURL

Access Jira RESTful API by cURL

时间:2021-07-01 10:21:17 帮助过:3人阅读

curl -D- -o c:/jiratest.txt -u username:password -X GET -H "Content-Type: application/json" http://10.255.7.140:8080/rest/api/2/search?jql="key>CM-7266&maxResults=1000"3. Edit c:/jiratest.txt, to remove the header and separater(,)4. Create DB & Collection (jira.jiratest),   > show databases;   jira   0.203GB   local  0.078GB   > use jira   switched to db jira   > show collections;   jiratest   system.indexes   >   5. Importing the JSON to Mongodb with below command; mongoimport -d jira -c jiratest c:/jiratest.txt6. Done.



来自为知笔记(Wiz)

Access Jira RESTful API by cURL

标签:

人气教程排行