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

Adding labels without replace all labels param fails #132

Open
askalski85 opened this issue Oct 16, 2024 · 0 comments
Open

Adding labels without replace all labels param fails #132

askalski85 opened this issue Oct 16, 2024 · 0 comments

Comments

@askalski85
Copy link

Error

AttributeError: 'Bunch' object has no attribute 'metadata'

Confluence version

Powered by Atlassian Confluence 9.0.3 (Cluster node: 39904683)

Input md

---
labels:
- label1
---

Command

md2cf --debug \
  --page-id "$PAGE_ID" \
  --title "$PAGE_TITLE" \
  --parent-id "$PARENT_ID" \
  input.md

Adding --replace-all-labels fixes the problem, but makes the parameter obsolete if it does not work without. The mentioned confluence version payload apparently does not include the metadata property even if labels are already defined.

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

1 participant