Triggered pipelines using CI_JOB_TOKEN not exposing trigger variables in UI
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
If a pipeline is triggered using the CI_JOB_TOKEN (i.e "multi project pipeline"), the jobs in that pipeline doesn't show trigger variables in the right sidebar. They show up alright if the trigger was done using a regular trigger token, though.
Consider the repo https://gitlab.com/balasankarc/samplerepo. I have two pipelines
- https://gitlab.com/balasankarc/samplerepo/pipelines/48007603
- https://gitlab.com/balasankarc/samplerepo/pipelines/48007622
• First pipeline is triggered from another CI job with the command curl --request POST -F "token=$CI_JOB_TOKEN" -F ref=master -F "variables[MYVAR]=1234" "${CI_API_V4_URL}/projects/334440/trigger/pipeline"
• Second pipeline is triggered manually by me with the command curl -X POST -F token=<my trigger token> -F ref=master -F "variables[MYVAR]=qwer" "https://gitlab.com/api/v4/projects/334440/trigger/pipeline"

