Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn issues with respect to JBoss jira
Mylyn issues with respect to JBoss jira [message #61704] Wed, 12 November 2008 11:30 Go to next message
Eclipse UserFriend
Originally posted by: max.andersen.redhat.com

Hi,

It's been a while since I tried Mylyn so I wanted to put these questions
here before infecting bugzilla with them ;)

I'm trying out Mylyn's jira integration and got a few questions/issues.

1) When adding a Jira Apache and Codehaus is in the dropdown - how do we
get JBoss in there ? Which extension point should I implement (if any ;)

2) First time I setup to connect with JBoss it takes a *long* time (>1
minute) before it gets ready and show me the list of projects - what is
Mylyn doing here ? It must be more than just getting the list...maybe the
progress monitor be a bit more informative so I know *something* is
happening.

3) I would suggest you add a filter field for the project selection; that
would be usefull for jira's with alot of projects like jboss

4) Duplicate Detection - this is a very interesting feature ;)
If I want an alternative which extension points should I add ?

5) Duplicate Detection - Detector: Stack trace.
I tried this against JBoss jira but got an error dialog saying:
Result code 403: You are not allowed to get a result set of more than
100 results. Current search returns 2470 results

Looking at the full error message which includes the url it seems it is
set to 5000 (why that high of a number ? When is 5000 search
results relevant from jira ?).

I changed the limit to 100 and it started working. Maybe the ui should
suggest this in case of errors ?

Now when it is running it looks like it is searching across *all* of
JBoss org jira instead of limiting to that single project I
was asked to select in step #2. Why is that ?

Alot of these issues also don't seem to contain any references to the
exeption I pasted in - the jira search seem to be extremely
broad and not required to include the exception text.

Otherwise it looks like the jira adapter have greatly improved since the
last time I used it :)


/max
Re: Mylyn issues with respect to JBoss jira [message #61729 is a reply to message #61704] Thu, 13 November 2008 04:17 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> I'm trying out Mylyn's jira integration and got a few questions/issues.
>
> 1) When adding a Jira Apache and Codehaus is in the dropdown - how do we
> get JBoss in there ? Which extension point should I implement (if any ;)

Take a look at the plugin.xml of the org.eclipse.mylyn.jira.ui plug-in for
contributing templates:

<extension
point="org.eclipse.mylyn.tasks.core.templates">
<repository
addAutomatically="false"
anonymous="false"
repositoryKind="jira"
label="Codehaus"
urlRepository="http://jira.codehaus.org/"/>
</extension>

> 2) First time I setup to connect with JBoss it takes a *long* time (>1
> minute) before it gets ready and show me the list of projects - what is
> Mylyn doing here ? It must be more than just getting the list...maybe the
> progress monitor be a bit more informative so I know *something* is
> happening.

Mylyn downloads the entire repository configuration (Projects, Components,
Versions, etc.). This can require a significant number of SOAP calls
depending on the number of projects in our repository. Which dialog was
missing the project indication?

> 3) I would suggest you add a filter field for the project selection; that
> would be usefull for jira's with alot of projects like jboss

Have you tried typing the project name while the list has the focus? On GTK
the selection jumps to the first project that matches what I type.
>
> 4) Duplicate Detection - this is a very interesting feature ;)
> If I want an alternative which extension points should I add ?

Take a look at StackTraceDuplicateDetector duplicate detector. It's fairly
easy to contribute your own:

<extension
point="org.eclipse.mylyn.tasks.ui.duplicateDetectors">
<detector
class=" org.eclipse.mylyn.internal.tasks.ui.search.StackTraceDuplica teDetector "
name="Stack Trace">
</detector>
</extension>

> 5) Duplicate Detection - Detector: Stack trace.
> I tried this against JBoss jira but got an error dialog saying:
> Result code 403: You are not allowed to get a result set of more than
> 100 results. Current search returns 2470 results

Yes, there seems to be a bug in the way the query is setup:

249054: duplicate detection returns too many matches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249054

> Looking at the full error message which includes the url it seems it
> is
> set to 5000 (why that high of a number ? When is 5000 search
> results relevant from jira ?).
>
> I changed the limit to 100 and it started working. Maybe the ui should
> suggest this in case of errors ?

210169: handle error when the number of search result is exceeded on the
server
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210169
>
> Now when it is running it looks like it is searching across *all* of
> JBoss org jira instead of limiting to that single project I
> was asked to select in step #2. Why is that ?

I believe the broad search scope is intentional since stack traces are very
specific and the chance for returning false positives is low.

> Alot of these issues also don't seem to contain any references to the
> exeption I pasted in - the jira search seem to be extremely
> broad and not required to include the exception text.

The matching doesn't appear to work properly (bug 249054).

> Otherwise it looks like the jira adapter have greatly improved since the
> last time I used it :)

Great to hear that!

Steffen
Re: Mylyn issues with respect to JBoss jira [message #61751 is a reply to message #61729] Thu, 13 November 2008 17:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: max.andersen.redhat.com

Thanks for the follow up ;) I'll look into those extension points and bug
references.

Another "annoying" thing I discovered yesterday is that when Mylyn adds
the mylyn-context to a jira it does it by adding another context with the
same name
instead of either removing the old one or provide a way to name this
context uniquely.

Any way out of that or do I just have to manually go and delete the old
context before uploading again ?

More comments inline:

>> 2) First time I setup to connect with JBoss it takes a *long* time (>1
>> minute) before it gets ready and show me the list of projects - what is
>> Mylyn doing here ? It must be more than just getting the list...maybe
>> the
>> progress monitor be a bit more informative so I know *something* is
>> happening.
>
> Mylyn downloads the entire repository configuration (Projects,
> Components,
> Versions, etc.). This can require a significant number of SOAP calls
> depending on the number of projects in our repository. Which dialog was
> missing the project indication?

You mean progress indication ?

Well there was progress indication, but it just said something like:

"Repository xyz in progress..." and then a never ending progress bar.

Maybe have the progress split up in tasks so you can see the actual %
progress
and/or update the text to say "Requesting project list..." -> "Requesting
components from Project X" -> "Requesting versions from Project X" etc.

Just so it doesn't look frozen ;)

>> 3) I would suggest you add a filter field for the project selection;
>> that
>> would be usefull for jira's with alot of projects like jboss
>
> Have you tried typing the project name while the list has the focus? On
> GTK
> the selection jumps to the first project that matches what I type.

Yes, but you have to type fast and on JBoss.org alot of the projects start
with JBoss <space> <some name> and it would be much better to just type in
<some name> and the list would be filtered based on that.

Just a suggestion.

Thanks ;)
/max
Re: Mylyn issues with respect to JBoss jira [message #61820 is a reply to message #61751] Fri, 14 November 2008 00:02 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Another "annoying" thing I discovered yesterday is that when Mylyn adds
> the mylyn-context to a jira it does it by adding another context with the
> same name
> instead of either removing the old one or provide a way to name this
> context uniquely.
>
> Any way out of that or do I just have to manually go and delete the old
> context before uploading again ?

At the moment the connector does not support deleting attachments so you
need to manually delete old contexts from the web inteface.

>> Mylyn downloads the entire repository configuration (Projects,
>> Components,
>> Versions, etc.). This can require a significant number of SOAP calls
>> depending on the number of projects in our repository. Which dialog was
>> missing the project indication?
>
> You mean progress indication ?
>
> Well there was progress indication, but it just said something like:
>
> "Repository xyz in progress..." and then a never ending progress bar.
>
> Maybe have the progress split up in tasks so you can see the actual %
> progress
> and/or update the text to say "Requesting project list..." -> "Requesting
> components from Project X" -> "Requesting versions from Project X" etc.
>
> Just so it doesn't look frozen ;)

Yes, that's a good idea. Please file an enhancement request for that.

>>> 3) I would suggest you add a filter field for the project selection;
>>> that
>>> would be usefull for jira's with alot of projects like jboss
>>
>> Have you tried typing the project name while the list has the focus? On
>> GTK
>> the selection jumps to the first project that matches what I type.
>
> Yes, but you have to type fast and on JBoss.org alot of the projects start
> with JBoss <space> <some name> and it would be much better to just type in
> <some name> and the list would be filtered based on that.

Good point. Please file an enhancement request :).

Steffen
Re: Mylyn issues with respect to JBoss jira [message #61867 is a reply to message #61820] Sat, 15 November 2008 08:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: max.andersen.redhat.com

On Fri, 14 Nov 2008 01:02:16 +0100, Steffen Pingel
<steffen.pingel@tasktop.com> wrote:

>> Another "annoying" thing I discovered yesterday is that when Mylyn adds
>> the mylyn-context to a jira it does it by adding another context with
>> the
>> same name
>> instead of either removing the old one or provide a way to name this
>> context uniquely.
>>
>> Any way out of that or do I just have to manually go and delete the old
>> context before uploading again ?
>
> At the moment the connector does not support deleting attachments so you
> need to manually delete old contexts from the web inteface.

any bugid for this ? at least allowing for a name with i.e. timestamp
would help since
jira ui does not handle similar named atachments well.

>> Maybe have the progress split up in tasks so you can see the actual %
>> progress
>> and/or update the text to say "Requesting project list..." ->
>> "Requesting
>> components from Project X" -> "Requesting versions from Project X" etc.
>>
>> Just so it doesn't look frozen ;)
>
> Yes, that's a good idea. Please file an enhancement request for that.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=255430

>>>> 3) I would suggest you add a filter field for the project selection;
>>>> that
>>>> would be usefull for jira's with alot of projects like jboss
>>>
>>> Have you tried typing the project name while the list has the focus? On
>>> GTK
>>> the selection jumps to the first project that matches what I type.
>>
>> Yes, but you have to type fast and on JBoss.org alot of the projects
>> start
>> with JBoss <space> <some name> and it would be much better to just type
>> in
>> <some name> and the list would be filtered based on that.
>
> Good point. Please file an enhancement request :).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=255431

/max
Re: Mylyn issues with respect to JBoss jira [message #61915 is a reply to message #61867] Tue, 18 November 2008 07:17 Go to previous message
Eclipse UserFriend
Originally posted by: steffen.pingel.eclipse.org

>>> Another "annoying" thing I discovered yesterday is that when Mylyn adds
>>> the mylyn-context to a jira it does it by adding another context with
>>> the
>>> same name
>>> instead of either removing the old one or provide a way to name this
>>> context uniquely.
>>>
>>> Any way out of that or do I just have to manually go and delete the old
>>> context before uploading again ?
>>
>> At the moment the connector does not support deleting attachments so you
>> need to manually delete old contexts from the web inteface.
>
> any bugid for this ? at least allowing for a name with i.e. timestamp
> would help since
> jira ui does not handle similar named atachments well.

I can't find a related bug report. Please feel free to file a new
enhancement request.

Steffen
Re: Mylyn issues with respect to JBoss jira [message #594797 is a reply to message #61704] Thu, 13 November 2008 04:17 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> I'm trying out Mylyn's jira integration and got a few questions/issues.
>
> 1) When adding a Jira Apache and Codehaus is in the dropdown - how do we
> get JBoss in there ? Which extension point should I implement (if any ;)

Take a look at the plugin.xml of the org.eclipse.mylyn.jira.ui plug-in for
contributing templates:

<extension
point="org.eclipse.mylyn.tasks.core.templates">
<repository
addAutomatically="false"
anonymous="false"
repositoryKind="jira"
label="Codehaus"
urlRepository="http://jira.codehaus.org/"/>
</extension>

> 2) First time I setup to connect with JBoss it takes a *long* time (>1
> minute) before it gets ready and show me the list of projects - what is
> Mylyn doing here ? It must be more than just getting the list...maybe the
> progress monitor be a bit more informative so I know *something* is
> happening.

Mylyn downloads the entire repository configuration (Projects, Components,
Versions, etc.). This can require a significant number of SOAP calls
depending on the number of projects in our repository. Which dialog was
missing the project indication?

> 3) I would suggest you add a filter field for the project selection; that
> would be usefull for jira's with alot of projects like jboss

Have you tried typing the project name while the list has the focus? On GTK
the selection jumps to the first project that matches what I type.
>
> 4) Duplicate Detection - this is a very interesting feature ;)
> If I want an alternative which extension points should I add ?

Take a look at StackTraceDuplicateDetector duplicate detector. It's fairly
easy to contribute your own:

<extension
point="org.eclipse.mylyn.tasks.ui.duplicateDetectors">
<detector
class=" org.eclipse.mylyn.internal.tasks.ui.search.StackTraceDuplica teDetector "
name="Stack Trace">
</detector>
</extension>

> 5) Duplicate Detection - Detector: Stack trace.
> I tried this against JBoss jira but got an error dialog saying:
> Result code 403: You are not allowed to get a result set of more than
> 100 results. Current search returns 2470 results

Yes, there seems to be a bug in the way the query is setup:

249054: duplicate detection returns too many matches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249054

> Looking at the full error message which includes the url it seems it
> is
> set to 5000 (why that high of a number ? When is 5000 search
> results relevant from jira ?).
>
> I changed the limit to 100 and it started working. Maybe the ui should
> suggest this in case of errors ?

210169: handle error when the number of search result is exceeded on the
server
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210169
>
> Now when it is running it looks like it is searching across *all* of
> JBoss org jira instead of limiting to that single project I
> was asked to select in step #2. Why is that ?

I believe the broad search scope is intentional since stack traces are very
specific and the chance for returning false positives is low.

> Alot of these issues also don't seem to contain any references to the
> exeption I pasted in - the jira search seem to be extremely
> broad and not required to include the exception text.

The matching doesn't appear to work properly (bug 249054).

> Otherwise it looks like the jira adapter have greatly improved since the
> last time I used it :)

Great to hear that!

Steffen
Re: Mylyn issues with respect to JBoss jira [message #594808 is a reply to message #61729] Thu, 13 November 2008 17:17 Go to previous message
Max Rydahl Andersen is currently offline Max Rydahl AndersenFriend
Messages: 23
Registered: July 2009
Junior Member
Thanks for the follow up ;) I'll look into those extension points and bug
references.

Another "annoying" thing I discovered yesterday is that when Mylyn adds
the mylyn-context to a jira it does it by adding another context with the
same name
instead of either removing the old one or provide a way to name this
context uniquely.

Any way out of that or do I just have to manually go and delete the old
context before uploading again ?

More comments inline:

>> 2) First time I setup to connect with JBoss it takes a *long* time (>1
>> minute) before it gets ready and show me the list of projects - what is
>> Mylyn doing here ? It must be more than just getting the list...maybe
>> the
>> progress monitor be a bit more informative so I know *something* is
>> happening.
>
> Mylyn downloads the entire repository configuration (Projects,
> Components,
> Versions, etc.). This can require a significant number of SOAP calls
> depending on the number of projects in our repository. Which dialog was
> missing the project indication?

You mean progress indication ?

Well there was progress indication, but it just said something like:

"Repository xyz in progress..." and then a never ending progress bar.

Maybe have the progress split up in tasks so you can see the actual %
progress
and/or update the text to say "Requesting project list..." -> "Requesting
components from Project X" -> "Requesting versions from Project X" etc.

Just so it doesn't look frozen ;)

>> 3) I would suggest you add a filter field for the project selection;
>> that
>> would be usefull for jira's with alot of projects like jboss
>
> Have you tried typing the project name while the list has the focus? On
> GTK
> the selection jumps to the first project that matches what I type.

Yes, but you have to type fast and on JBoss.org alot of the projects start
with JBoss <space> <some name> and it would be much better to just type in
<some name> and the list would be filtered based on that.

Just a suggestion.

Thanks ;)
/max
Re: Mylyn issues with respect to JBoss jira [message #594834 is a reply to message #61751] Fri, 14 November 2008 00:02 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Another "annoying" thing I discovered yesterday is that when Mylyn adds
> the mylyn-context to a jira it does it by adding another context with the
> same name
> instead of either removing the old one or provide a way to name this
> context uniquely.
>
> Any way out of that or do I just have to manually go and delete the old
> context before uploading again ?

At the moment the connector does not support deleting attachments so you
need to manually delete old contexts from the web inteface.

>> Mylyn downloads the entire repository configuration (Projects,
>> Components,
>> Versions, etc.). This can require a significant number of SOAP calls
>> depending on the number of projects in our repository. Which dialog was
>> missing the project indication?
>
> You mean progress indication ?
>
> Well there was progress indication, but it just said something like:
>
> "Repository xyz in progress..." and then a never ending progress bar.
>
> Maybe have the progress split up in tasks so you can see the actual %
> progress
> and/or update the text to say "Requesting project list..." -> "Requesting
> components from Project X" -> "Requesting versions from Project X" etc.
>
> Just so it doesn't look frozen ;)

Yes, that's a good idea. Please file an enhancement request for that.

>>> 3) I would suggest you add a filter field for the project selection;
>>> that
>>> would be usefull for jira's with alot of projects like jboss
>>
>> Have you tried typing the project name while the list has the focus? On
>> GTK
>> the selection jumps to the first project that matches what I type.
>
> Yes, but you have to type fast and on JBoss.org alot of the projects start
> with JBoss <space> <some name> and it would be much better to just type in
> <some name> and the list would be filtered based on that.

Good point. Please file an enhancement request :).

Steffen
Re: Mylyn issues with respect to JBoss jira [message #594849 is a reply to message #61820] Sat, 15 November 2008 08:16 Go to previous message
Max Rydahl Andersen is currently offline Max Rydahl AndersenFriend
Messages: 23
Registered: July 2009
Junior Member
On Fri, 14 Nov 2008 01:02:16 +0100, Steffen Pingel
<steffen.pingel@tasktop.com> wrote:

>> Another "annoying" thing I discovered yesterday is that when Mylyn adds
>> the mylyn-context to a jira it does it by adding another context with
>> the
>> same name
>> instead of either removing the old one or provide a way to name this
>> context uniquely.
>>
>> Any way out of that or do I just have to manually go and delete the old
>> context before uploading again ?
>
> At the moment the connector does not support deleting attachments so you
> need to manually delete old contexts from the web inteface.

any bugid for this ? at least allowing for a name with i.e. timestamp
would help since
jira ui does not handle similar named atachments well.

>> Maybe have the progress split up in tasks so you can see the actual %
>> progress
>> and/or update the text to say "Requesting project list..." ->
>> "Requesting
>> components from Project X" -> "Requesting versions from Project X" etc.
>>
>> Just so it doesn't look frozen ;)
>
> Yes, that's a good idea. Please file an enhancement request for that.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=255430

>>>> 3) I would suggest you add a filter field for the project selection;
>>>> that
>>>> would be usefull for jira's with alot of projects like jboss
>>>
>>> Have you tried typing the project name while the list has the focus? On
>>> GTK
>>> the selection jumps to the first project that matches what I type.
>>
>> Yes, but you have to type fast and on JBoss.org alot of the projects
>> start
>> with JBoss <space> <some name> and it would be much better to just type
>> in
>> <some name> and the list would be filtered based on that.
>
> Good point. Please file an enhancement request :).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=255431

/max
Re: Mylyn issues with respect to JBoss jira [message #594876 is a reply to message #61867] Tue, 18 November 2008 07:17 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
>>> Another "annoying" thing I discovered yesterday is that when Mylyn adds
>>> the mylyn-context to a jira it does it by adding another context with
>>> the
>>> same name
>>> instead of either removing the old one or provide a way to name this
>>> context uniquely.
>>>
>>> Any way out of that or do I just have to manually go and delete the old
>>> context before uploading again ?
>>
>> At the moment the connector does not support deleting attachments so you
>> need to manually delete old contexts from the web inteface.
>
> any bugid for this ? at least allowing for a name with i.e. timestamp
> would help since
> jira ui does not handle similar named atachments well.

I can't find a related bug report. Please feel free to file a new
enhancement request.

Steffen
Previous Topic:Mylyn WikiText Stand-Alone Package Available
Next Topic:Unable to update Bugzilla
Goto Forum:
  


Current Time: Thu Dec 26 10:31:32 GMT 2024

Powered by FUDForum. Page generated in 0.03912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top