How do you update JIRA Toolkit from version 0.25 to 0.34.2 on JIRA 5.0.7?

We have JIRA 5.0.7 instance with JIRA Toolkit 0.25 installed. Newer version 0.34.2 is available today (February 28, 2013). I cannot update it using the newest UPM. Error message:

"The add-on https://marketplace.atlassian.com/download/plugins/com.atlassian.jira.toolkit/version/134 is not a deployable add-on. It must be manually installed/updated."


It cannot be installed manually either by uploading the .jar file nor by placing the .jar file in the plugins/installed-plugins directory. It can, but it will be disabled by JIRA rendering it useless.

5 answers

1 accepted

Hi all,

This plugin still contains an old style plugin, AutoTransitionListener, that can not be dynamically reloaded. Therefore to install it, you need to:

  • download the JAR
  • shutdown your instance of JIRA
  • replace your current JAR file under JIRA_HOME/plugins/installed-plugins/
  • restart JIRA
  • I am sorry about this inconvenience.

Meanwhile I am looking into the issue around the custom field type reporter by Normann.

cheers,

sherali

Hi,

According to a customer, the new field "'Last comment date'", is not sorted correctly - see

http://www.mos-eisley.dk/download/attachments/29425672/image001.png

Indeed you are right. Now tracking it here: https://ecosystem.atlassian.net/browse/JTOOL-174

I am going to look into it ASAP.

Fixed it. The new release should help with the sorting, mate.

Sherali,

Thank you for the fixes.

FYI, I downloaded the plugin version 0.34.3 and instead of shutting down my JIRA instance, I uploaded the new version. The log file said it's disabled, but the plugin seems ok on the Manage Add-on page.

It seems that installing version 0.34.3 does not require a JIRA restart. Please confirm whether this is correct.

Hi Danny,

Do you use AutoTransitionListener? That's the only component that is not dynamically reloadable.

If you don't - then I do not see any particular reasons why you could not just dynamically upload the plugin. Should work.

Let me know if I can help further.

cheers,

sherali

Yes, it's ok now with version 0.34.3.

Many thanks,

Ioannis

0 votes

Perhaps you can try uninstall the existing plugin in your instance before uploading the new version.

0 votes

Hi Danny,

I just had the same problem trying to download using UPM, but I managed to successfully install downloading the JAR file and uploading the plugin.

Cheers,

Marcus

Marcus and ChungPark,

Thank you for your responses.

I can install by uploading the downloaded plugin file. However, the plugin is disabled and this error message is displayed:

This add-on could not be loaded. It has one or more errors which prevent it from being enabled. Please refer to the logs for more information.

From atlassian-jira. log:

JIRA Toolkit Plugin : com.atlassian.jira.toolkit
Version : 0.34.2
Status : disabled
Unloadable Reason : There was a problem loading the descriptor for module 'Last comment date time searcher' in plugin 'JIRA Toolkit Plugin'.
Error retrieving dependency of class: com.atlassian.jira.toolkit.customfield.searchers.LastCommentDateSearcher. Missing class: com/atlassian/jira/issue/customfields/NaturallyOrderedCustomFieldSearcher

Thanks,

-Danny

I also have an issue with the field type:

Filter:

resolution = Unresolved AND assignee = currentUser() AND status in (Open, "In Progress", Reopened, "Awaiting Approval", Approved, Rejected, "Waiting for Authorization", "Waiting for CAB Meeting", Authorized, Deployed, "Waiting for Rollback", Verified, "Rolled Back", "Waiting for Rollback Verification", "Waiting for Reviewer Authorization", "Waiting for Change Manager Authorization", "Waiting for Completion", "Under Investigation", "Under Resolution") ORDER BY cf[10020] ASC, priority DESC, created ASC

My filters including the field type says:

The selected filter has an error: Not able to sort using field cf[10020]

Unfortunately, I cant create a ticket at https://ecosystem.atlassian.net/browse/JTOOL ...

Hi all,

The custom field you are using (Days since last Comment) has caused extreme performance degradations to a point of grinding the instance to a halt, causing out of memory exceptions and instance crashing:

It has been released in v 0.26 of the plugin.

Instead of the old field (Days since last comment) we recommend switching to the new field type 'Last comment date'. It fixed the performance issues of the old field type.

cheers,

sherali

I updated the release noted for v 0.34.2 to reflect the changes.

Dear Sherali,

I have exactly the same problem as Danny above.
I believe the reason for the missing class "NaturallyOrderedCustomFieldSearcher" is that this class was introduced for the first time in JIRA 5.2 (or maybe 5.1; I'm not sure), but for sure it was NOT available in JIRA 5.0.x (I'm using 5.0.6), hence the error.
Can you please confirm?

Thanks,
Ioannis

Hi Ioannis,

I release the version 0.34.3 of the plugin that should fix this issue. Please let me know how you go with it.

cheers,

sherali

Yes, it's ok now with version 0.34.3.

Many thanks,

Ioannis

Hi all,

This plugin still contains an old style plugin, AutoTransitionListener, that can not be dynamically reloaded. Therefore to install it, you need to:

  • download the JAR
  • shutdown your instance of JIRA
  • replace your current JAR file under JIRA_HOME/plugins/installed-plugins/
  • restart JIRA

I am sorry about this inconvenience.

Meanwhile I am looking into the issue around the custom field type reporter by Normann.

cheers,

sherali

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,310 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you