stig / ox-jira.el

Org-mode export backend for JIRA markup
131 stars 20 forks source link

Support Links to Usernames #24

Open peblair opened 8 years ago

peblair commented 8 years ago

JIRA allows comments to reference users in comments using the following special link syntax:

- My name is [~belph]

Which will render as (for example):

This is a feature I frequently use, but I currently have to manually edit the output of ox-jira in order to support this (unless my org-mode-fu is too poor to see an alternative).

Would you consider adding the ability to use these types of links?

stig commented 8 years ago

Hi @belph,

Yes, I would definitively be willing to add this, if a PR came this way wink wink :-) I've wanted that myself, but I rely too heavily on autocomplete as my colleagues don't all have the same usernames in JIRA as they have in email / Slack / GitHub etc.

stig commented 8 years ago

@belph how would you prefer this to work? ox-jira normally escapes [ because they usually cause JIRA to mangle text. Would you expect that [~ was exempted from this escaping, or would you expect to use the org link syntax? I found myself wanting this myself today, so I could try coding it up myself but I'm not sure what behaviour it should actually have.