jazz-community / rtc-git-connector

Connect RTC work items with commits, issues, and requests from GitHub or GitLab
MIT License
6 stars 6 forks source link

Indicate duplicates using tags #42

Closed MartinBenninger closed 5 years ago

MartinBenninger commented 5 years ago

Add Tags/Labels When creating an issue from a work item, the issue gets the label "from-rtc-work-item". New: The work item also gets a tag "created-as-git-issue". (Only added if it doesn't already exist.)

When creating a work item from a git issue, the work item gets the tag "from-git-issue". New: The git issue also gets a tag "created-as-rtc-work-item". (Only added if it doesn't already exist.)

Use new Tags/Labels When in normal mode: Show a hint next to the "create as git issue" button. Show that the work item has already been created as a git issue (check the tag on the work item "created-as-git-issue"). Don't block the user from creating another one (might be a different git repository).

When in "create work items from git issues" mode: Show a hint next to all git issues that have already been created as work items (check the label on the git issue "created-as-rtc-work-item"). Don't block the user from selecting them anyways.

Hinting A triangle warning icon is shown on the right. Hovering over the icon shows a tooltip with the explanation.

MartinBenninger commented 5 years ago

This pull request was linked by RTC Work Item 746004 on behalf of martin.benninger@siemens.com