LoginSignup
5
4

More than 5 years have passed since last update.

Backlog API をつかってチームのメンバーの予定時間・実績時間の更新を追う方法

Posted at
https://xx.backlog.jp/api/v2/users/myself?apiKey=YOURAPIKEY
curl "https://xx.backlog.jp/api/v2/space?apiKey=YOURAPIKEY"|jq .
curl "https://xx.backlog.jp/api/v2/users?apiKey=YOURAPIKEY"|jq -c '.[]'|grep "チームメンバー1"
curl "https://xx.backlog.jp/api/v2/users/チームメンバー1USERID/stars?order=desc&count=100&apiKey=YOURAPIKEY"|jq -c ".[]"
curl "https://xx.backlog.jp/api/v2/users/チームメンバー1USERID/activities?order=desc&count=100&apiKey=YOURAPIKEY"|jq -c ".[]"
curl "https://xx.backlog.jp/api/v2/users/チームメンバー1USERID/activities?order=desc&count=100&apiKey=YOURAPIKEY"|jq -c ".[]|.id,.type,.content.summary,.content.changes"

でとれる、

[{"field":"estimatedHours","field_text":"lbl.changelog.estimatedHours","new_value":"2","old_value":"","type":"standard"}]

estimatedHours などの情報がそれになる。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4