Skip to content

Exec quickaction from Issues API request

I am not sure, if its possible to run quickaction to Issues API.

For example:

  1. closing issue
     curl --request POST -k -sSL \
        --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" \
       --form body="\/close" \
        "https://gitlab.example.com/api/v4/projects/5/issues/93/notes"
  1. multilines are also not supported
     curl --request POST -k -sSL \
        --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" \
       --form body="first \/n second" \
        "https://gitlab.example.com/api/v4/projects/5/issues/93/notes"

Body is literally pasted to issue as note. Any idea?