Skip to content

Does not seem to be compatible with ADF (Atlassian Document Format)  #42

@jledoux-sonergia

Description

@jledoux-sonergia

Hello @mboudreau

Thank you for maintaining this repo !

I'm trying to pretty format JIRA comments, by masking ugly 1km long urls with titles for instance, but Atlassian REST API is not compatible with markdown format, so I've tried to format it with Atlassian Document Format, but it shows as raw JSON on Jira issues.

Here is a basic example of minified JSON string in ADF format, I've removed most of its content to make it readable in this issue:

- name: Comment on JIRA issue
  uses: atlassian/gajira-comment@v3
  with:
    issue: ${{ inputs.JIRA_CODE }}
    comment: |
      {"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Ticket déployé sur l'environnement ${{ steps.string.outputs.uppercase }}:"}]}]}

Shows as:
image

Is there a way to format comments using either markdown or ADF ? Or Should it be a feature request ?

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