Skip to content

Feature Request: include `bot` attribute in `author` resource hash and filters

Currently the resource[:author] hash contains the following attributes:

{
  "id"=>178271,
  "username"=>"adam-moss",
  "name"=>"Adam Moss",
  "state"=>"active",
  "locked"=>false,
  "avatar_url"=>"https://gitlab.com/uploads/-/system/user/avatar/178271/avatar.png",
  "web_url"=>"https://gitlab.com/adam-moss"
}

Would it be possible to extend this to include the bot attribute?

Related to {{author}} ruby condition with group and projec... (#321 - closed) this would allow for the filtering of group and project access tokens, and service accounts, more generically and robustly.

As this is a boolean value it would also be nice to include it as a direct filter condition.

/cc @leetickett-gitlab as you were kind enough to respond to #321 (closed).