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

template ac:jiraissues returns error 500 #448

Closed
ChrisRu82 opened this issue May 30, 2024 · 1 comment
Closed

template ac:jiraissues returns error 500 #448

ChrisRu82 opened this issue May 30, 2024 · 1 comment
Labels

Comments

@ChrisRu82
Copy link
Contributor

What happened?

If I use the template ac:jiraissues I receive from the confluence an Error 500 "Internal Server Error". I tested this with only the required parameters and with all optional parammeters

What did you expect to happen?

That the Jira issue List would have been created on the confluence page.

How can we reproduce the behavior you experienced?

  1. Add a macro with these values in the markdown
<!--` Macro: :testlist:
     Template: ac:jiraissues
     URL: https://jira.example.com/sr/jira.issueviews:searchrequest-xml/100000/SearchRequest-100000.xml?tempMax=1000
      -->

:testlist:
  1. run mark

Further Information (please complete the following information)

  • Mark Version (mark --version): [ v9.12]
  • Mark Parameters: [--drop-h1 --title-from-h1]
  • Confluence Hosting: [Datacenter]
  • Confluence Version: [9.5.4]
  • Environment specific Information: [tested in Gitlab CI and Mac OS terminal]

Logs or other output

Please provide logs, other kind of output here.

Additional context

The problem can be solved when we change Line 170 and
Line 177 in the stdlib.go

The missing bit is that the urls need to be in the ri:url format similiar to Line 254.

@mrueg
Copy link
Collaborator

mrueg commented May 31, 2024

Thanks for the PR, I merged it!

@mrueg mrueg closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants