API tagDescriptions are extracted with hardcoded source APIM resource IDs.

Open
#307 3 comments 1 reaction 0 assignees View on GitHub

@cdayne is already working on this.

Since Nov 5, 2026.

  • #335 by @cdayne — open
  • #338 by @cdayne — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, typescript
Domain
api, cli, cloud

Research direction

Start with the apiops extract entry point and the generated /apim-artifacts/apis/{api-name}/tagDescriptions/{tag-name}/tagDescriptionInformation.json files. Compare their handling with filter.yaml and environment promotion. Done means tagDescriptions can be filtered, source APIM resource IDs are rewritten for promotion, and deployment to a target APIM instance succeeds.

Written by the indexing model from the issue text.

Description

stale type:bug
Command that triggered the bug

apiops extract

Expected behavior
  • task: AzureCLI@2
    displayName: Run APIOps Extract
    inputs:
    azureSubscription: "$(SERVICE_CONNECTION_NAME)"
    scriptType: bash
    scriptLocation: inlineScript
    inlineScript: |

        SUBSCRIPTION_ID=$(az account show --query id -o tsv)
    
        echo "Using subscription: $SUBSCRIPTION_ID"
    
        apiops extract \
          --subscription-id "$SUBSCRIPTION_ID" \
          --resource-group "${{ parameters.RESOURCE_GROUP_NAME }}" \
          --service-name "${{ parameters.APIM_INSTANCE_NAME }}" \
          --output "$(Build.ArtifactStagingDirectory)/apim-artifacts" \
          --filter filter.yaml
    

apis:

  • apiName:
    diagnostics:
    • '*'
      operations:
    • '*'
      schemas:
    • '*'
      tagDescriptions: []
Actual behavior

API tagDescriptions are extracted with hardcoded source APIM resource IDs.
They cannot be filtered via filter.yaml.
They are not rewritten during environment promotion.
They fail deployment to target APIM instances.

these files get extracted
/apim-artifacts/apis/{api-name}/tagDescriptions/{tag-name}/tagDescriptionInformation.json

apiops CLI version

1.0.4

Environment details

node 22.23.3 x64

CI/CD environment

Azure DevOps

Is this bug blocking you?

Yes

Dominant language
TypeScript
Stars
44
Forks
14
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops-cli

All issues in Azure/apiops-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.