Add redmine user to task#7
Add redmine user to task#7waldenraines wants to merge 1 commit intoares:masterfrom waldenraines:redmine-user
Conversation
|
|
||
| def create_kanboard_task | ||
| redmine_assignee = KanboardUser.find_by_name(@redmine_issue.assigned_to) | ||
| owner_id = redmine_assignee.id if redmine_assignee |
There was a problem hiding this comment.
Not 100% sure if this is the best way to do this, my ruby is a little rusty.
|
Anyone have an example of mapping? I have several names that are different between redmine and kanboard. |
|
I think there's a task for this already - https://github.com/ares/kansync/blob/master/tasks/150-set_assignee_according_to_redmine.rb perhaps it could be somehow reused in this. It's a bit more complicated as it checks all linked redmine issues, but it contains the mapping based on profile configuration. |
I could look into reusing that but you're okay with the approach of assigning at creation time if the redmine is assigned? |
|
absolutely, just want to avoid having it on two places |
No description provided.