The native GitLab integration in Port does not currently expose the
duration
field for pipeline entities. We'd like this field to be supported natively.
The current pipeline kind mapping fetches data from the GitLab list pipelines endpoint (/api/v4/projects/:id/pipelines), which returns fields such as
status
,
created_at
,
updated_at
, and
web_url
. However, the duration field is only available on the individual pipeline detail endpoint (
/api/v4/projects/:id/pipelines/:pipeline_id
).
What we need: For each pipeline fetched during resync, we'd like Port to also retrieve the detailed pipeline record so that the
duration
field is available for mapping.
Created by Samiru Musa Haruna
·