olliefr/temposaurus

Make `your-domain` configurable

Closed this issue · 1 comments

JIRA's "get current user" REST API requires specifying user's organisation domain in a URL.

My implementation assumes our organisational domain, which makes it unusable for users in other organisations 👺

This is clearly a mistake. It must be configurable via an environment variable, just like the other settings.

const urlAtlassianUserID = "https://verifa.atlassian.net/rest/api/3/myself"

Kudos to @maniankara for pointing this out to me 🙃

Fixed in b1f9849.