Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

The Deployment does not have an associated Jira issue key goes in error #12

@stwe11

Description

@stwe11

We have encountered a persistent error while running Add-JiraDeploymentInformation.ps1.
When executing the integration without an associated issue key in Jira, an error occurs. The error message received is as follows:

Invoke-RestMethod: /agent/_work/23/s/EP.PowerShell.JiraDeployInfo/Public/Add-JiraDeploymentInformation.ps1:181
Line |
181 | … $response = Invoke-RestMethod -uri "https://api.atlassian.com/jira/de
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| [{"message":"Associations must provide at least one value."}]

It appears that the issue stems from the Jira API, which no longer accepts association properties without a value.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions