You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may simply be unique to my use case, though I thought I'd share in case it someone else might find it useful.
I work on multiple Jira systems. And use the go-jira tool extensively. My initial method was to just copy a <system>-config named file to config.yml in order to effectively switch between the Jira systems / boards.
This of course switches every session at once, which is undesirable. So I added code to look at GOJIRA_CONFIG environment variable and use that to prefix the config.yaml -> ${GOJIRA_CONFIG}-config.yml. Of course one could instead use a full path to the config file.
This may simply be unique to my use case, though I thought I'd share in case it someone else might find it useful.
I work on multiple Jira systems. And use the go-jira tool extensively. My initial method was to just copy a
<system>-config
named file toconfig.yml
in order to effectively switch between the Jira systems / boards.This of course switches every session at once, which is undesirable. So I added code to look at
GOJIRA_CONFIG
environment variable and use that to prefix theconfig.yaml
->${GOJIRA_CONFIG}-config.yml
. Of course one could instead use a full path to the config file.Clearly easy enough to implement, here is the diff on my fork: https://github.com/cmaahs/jira/compare/master...cmaahs:jira:maahs?expand=1
The text was updated successfully, but these errors were encountered: