Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jledoux-sonergia opened this issue Sep 8, 2023 · 1 comment

Comments

@jledoux-sonergia
Copy link

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 ?

@jobnte
Copy link

jobnte commented Sep 22, 2023

I would like to get more information about this too. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants