Why jira cloud addon install failed after change the addon key Edited

Hi ,

I am developing a jira cloud addon by using atlassian-connect.  Everything works fine until change the addon key. I changed the addon key then tried to re-install the addon into my jira cloud instance. I tried it for different jira cloud instance but always got same error.

I modified the field key in atlassian-connect.json descriptor. This is the modification i did.

previous key : com.testcompany.jira.plugin
new key : com.testcompany.jira.plugin.testaddon.testcompany-jira-tickets-importer

This is the error i got.

error-install.png

An error occurred while provisioning the user for this add-on. Please try installing it again, and if then problem persists then contact Atlassian support. 

Could anyone please tell why i got this error, and how to resolve it.

Thanks.

 

 

2 answers

Hi All,

Adding more details to the above post.

After further investigation on it, the Issue seems to be the length of the key. What we have observed was that when the add-on gets installed in a Jira cloud instance, it also creates Jira system users as per SCOPE values which are defined in the JSON descriptor. And then the add-on key is used to generate those user’s names and email ids. And if the key value exceeds more than 64 characters, user creation gets failed.

We have conformed the above behavior by using different key but with shorter length and then the problem goes away.

But We won’t be able to use a short length key value because our Jira server add-on version is already has been published to marketplace and which contains a long key value which exceeds more than 64 characters. Due to that reason our Jira Cloud add-on version also has to use the same key value as per Atlassian Jira Plugin specification. Right now, we are not able to change the Jira server add-on key due to other restrictions.

Please let us know if there is a way to overcome this issue.

Thanks,

-Thushara

0 votes
Daniel Wester Community Champion Jan 17, 2018

You're probably best off asking this question over at the Atlassian Developer Community: https://community.developer.atlassian.com . There are Atlassian Dev Experience folks there that can help you.

That said - they'll probably ask you to drop in a ticket to the Developer HelpDesk at https://ecosystem.atlassian.net/servicedesk/customer/portal/14

Personally (my own $0.02) - it's not necessarily a bad thing to have separate listings for the 2 versions.

Thanks, yes i'll post this to developer community.

-Thushara

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

432 views 7 5
Join discussion

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