JIRA Requirement 1.1.14:
JIRA currently supports several different issue linking features such as blocks, depends on, related to and relates to, incorporated by, incorporates,
and duplicates and duplicated by.
Bugzilla currently supports blocks and depends on fully, and partially supports duplicated by and duplicates. Duplicates is a one-to-many relationship and
not a many-to-many relationship like JIRA. This means that BugA can be a closed as a duplicate of BugB but not a duplicate of BugC. But BugB can also
be duplicated by other bugs as well such as BugD and BugE.
Bugzilla has a feature called "See Also" which could be used to partially implement relates to and related to but was originally meant to reference other
bugs outside of the current Bugzilla installation and not really to bugs internally. This also means there is not a two way relationship similar to
blocks and depends on. If BugA is added to the "See Also" field of BugB, BugA does not know anything about the relationship and does not display the
relationship in it's own bug view.
Implement new generic mapping table storing related to and relates to information along with current depends on and blocks and update the web UI to
allow managing these values (upstream bug 12286 has old patch). The mapping table should allow for adding new relationships in the future by adding
a type column that designates what type of mapping it is. For duplication, I feel we can just convince the JIRA team to adopt the current method in
Bugzilla as it has not been a problem in the past for Bugzilla users. As for incorporates and incorporated by, we need to research how much this is
really used and what exactly does it mean. It may be that the field is redundant and not needed.
Newer upstream bug where this is being discussed currently:
Okay. If we don't need the incorporation relationships, couldn't we just make See Also two-way for the local installation, and allow it to take raw bug ids for the local install, and thus solve all the existing relationships?
(In reply to comment #2)
> Okay. If we don't need the incorporation relationships, couldn't we just make
> See Also two-way for the local installation, and allow it to take raw bug ids
> for the local install, and thus solve all the existing relationships?
I will have to run it by the JIRA guys. I know they sometimes want to map a single issue as a duplicate of multiple other issues but not sure if that is a
hard requirement. We cant do that currently in BZ that I know if.
But I could definitely see using the See Also field to have it detect that you put in a single id instead of a URL and assume it is a local bug report and link it differently (two way, maybe even show bug info like summary, status, etc.)
Let's just say the multiple duplicates is a no-go right now. So for this bug we will need a requirement to have the See Also field take either external bug addresses (one-way only for now) and also individual bug id's which need to be two way. So if the user enters a integer value (non-url) it is assumed it is a local bug report. The bug being referenced will also need to show the relationship as well. I would also say that at this time no notifications to the other bug are needed when attributes change on a parent bug. For example with dependencies when status changes the dependent bugs are also notified. We do not need that at this time. The user just needs to see the list of bugs that the current bug is related to in the UI.
Assigned to Trevor to verify/QA. https://bz-web2-test.devel.redhat.com/
JIRA issues with dependencies on other issues within the same product (or other products already migrated) should have similar dependencies in the newly created bug reports. Also JIRA issues that were related to other JIRA issues should now show up in the See Also Bugzilla field.
I see a case that "Depends On" are transferred, but not "See Also" such as for bug 635312.
I do see that "See Also" was migrated from "related" on bug 635136. But, in that case, there was no "dependency" on the jira.
I haven't been able to find an issue where these links are present.
i.e. https://bz-web2-test.devel.redhat.com/show_bug.cgi?id=637942 does not have any reference to JBIDE-7058 as is the case on https://jira.jboss.org/browse/JBDS-1318
Another worthy comment is that in jira issues are hyperlinked by just mentioning them (see the JBDS-1318 jira comments) - that does not seem to happen in bugzilla (or at least I don't know the syntax for doing so)
assigning back to dev.
(In reply to comment #7)
> I haven't been able to find an issue where these links are present.
> i.e. https://bz-web2-test.devel.redhat.com/show_bug.cgi?id=637942 does not have
> any reference to JBIDE-7058 as is the case on
The technical reason would be that since we did not migrate JBIDE to bz-web2-test.devel.redhat.com yet (and not sure it's even on the list), then the link didn't happen as the other bug does not exist in Bugzilla.
I think for the next migration, when I encounter a link that one side is not in Bugzilla, then I will create the link instead in the External Bugs section and not the See Also. We will use See Also for local relationships and use External Bugs for external relationships.
> Another worthy comment is that in jira issues are hyperlinked by just
> mentioning them (see the JBDS-1318 jira comments) - that does not seem to
> happen in bugzilla (or at least I don't know the syntax for doing so)
Still to be implemented, on the blocker list.
Ok, I have updated the See Also code to allow local links to show status and bug summary when the mouse pointer hovers over them. Also I added (local) so that it is easier to tell which ones are local and which are not. Please take a look. Here are some bugs with examples to look at:
David, I looked and all three examples and I'm not following where I'm supposed to look/hover ?
Care to make a screenshot and point it out to blind me ?
(In reply to comment #11)
> David, I looked and all three examples and I'm not following where I'm supposed
> to look/hover ?
> Care to make a screenshot and point it out to blind me ?
If the link in the See Also section has (local) next to it, then if you hover over the link, it will have a title window pop up showing the current status and summary of the linked bug report.
I will create a screenshot showing this soon.
I'm afraid my eyesight matches Max's I've hovered all round the see also area in those 3 examples and see nothing.
I'm marking this as ON_QA, as I think this needs some testing to see if this functionality is now working as required. All the URLs mentioned above are no longer valid, since they would have changed with the latest import.
Just a note that today's import was done by project so links from one project (e.g. BRMS) won't show dependancies with a different project (e.g. SOA), but issue of the same project will contain the correct links .
Please let me know of any cases of incorrect links from this import.
Clean-up task from the March 9 2011 Bugzilla / BRMS Pilot Meeting
This bugzilla has been marked as ON_QA - we need to verify that the changes made to https://bz-web2-test.devel.redhat.com/ are acceptable and that this bugzilla can be closed. Please verify the change and close (or re-open) this bugzilla by March 15 2011. Thx!
- JIRA BRMS-538 is cloned from BRMS-519. Neither one of the respective bugzillas has a reference to the other (except for in comments).
- The same goes for BRMS-535, which doesn't even reference the JIRAs in comments.
Sending back to ON_DEV.
And changing the assignee and QA contact.
Thanks simon, I consider this resolved.