Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom server Add-on key format

Raimundas Juska
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2019

Hi,

I have developed and published some Cloud apps to the marketplace. At that moment I was not aware of the add-on key proper format (reverse domain name notation). So these Cloud app keys are not in format groupId.artifactId

I have now finished Server versions of the same apps, which uses reverse domain name notation. However, I can not use same listing for these two versions because of the key differences.

What are my options now? I have tried changing <atlassian-plugin key="${atlassian.plugin.key}"> to <atlassian-plugin key="some.static.cloud.app.key"> as a solution, but this doesn't seem to work, with builds failing.

1 answer

1 accepted

0 votes
Answer accepted
Aleksandr Zuevich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2019

Hi,

 

Have you changed the key in <atlassian-plugin key="some.static.cloud.app.key"> only?

Don't forget to change also in jira maven plugin instruction:

<Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>

Or better change this line:

<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>

to this:

<atlassian.plugin.key>some.static.cloud.app.key</atlassian.plugin.key>
Raimundas Juska
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2019

Thank you! Seems to be working now.

However, is this an acceptable practice with Atlassian plugin key not being the same as Maven's ${project.groupId}.${project.artifactId}?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events