stig / ox-jira.el

Org-mode export backend for JIRA markup
129 stars 19 forks source link

Exported Jira heading level always starts at 1 #54

Closed kickingvegas closed 4 years ago

kickingvegas commented 4 years ago

When exporting org-mode subtree, the exported Jira heading level is set to 1. Would prefer that this matches the actual org heading level.

kickingvegas commented 4 years ago

Also thanks so much for this exporter - so tremendously useful.

mikej96 commented 4 years ago

@kickingvegas -

I also use ox-jira very frequently it is a huge time saver for me. I agree it would be nice to have the export match the org level or have a mechanism to have a 'default' top level. I find that in jira the h1 and h2 headings are obnoxiously large, and for me I like to make the top level be h3.

To work around this I have modified my ox-jira.el's ox-jira-headline fucnction with the following so that my top level always starts with h3.

(format "h%d. %s%s%s\n" (+ 2 level) todo-text title tags-text)

image

I am sure there is a better way to do this so I am not modifying the package file directly but I am not sure how to do it.

Thank you @stig for the excellent package!

stig commented 4 years ago

Hi, I've attempted to address both your concerns in https://github.com/stig/ox-jira.el/pull/55 -- can you please let me know if it works for you, and reopen the ticket if it does not? (You'll probably have to wait a day for MELPA to get the new version.)

stig commented 4 years ago

PS: thank you for the kind words!

mikej96 commented 3 years ago

@stig you rock! Works perfectly! Thank you!!