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

Add option to discover activities from Redmine installations for configuration #119

Open
bjoernmartin opened this issue Jun 7, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@bjoernmartin
Copy link

In order to configure mappings for activities, the configuration file requires knowledge of the internal IDs of activities to map them to labels, see for example

8: [DesignView, Design, View, Dsgn]

Since "normal" users don't have access to this kind of information and may not know how to scrape that out of Redmine's web interface, it would be nice if buchungsstreber were able to extract those from a configured Redmine installation (e.g. via command line argument dump-activities or similar) so the user can use them for their own configuration.

An alternative approach could be to allow the use of activity names instead of IDs. In this scenario my config might change like this:

# from
    activities:
      33: [Marketing, mkt]
      46: [Sales]
      47: [Consulting, con]
# to
    activities:
      Marketing: [mkt]
      Consulting: [con]

Marketing, Sales and Consulting are the "original" labels within the Redmine installation and will always work, hence no configuration for Sales, as no alias exists.

@BuJo BuJo added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants