Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Where current plugin build number is stored?

Andrzej Warycha August 28, 2015

Hi,

I'm developing PluginUpgradeTask and I'm wondering how to check programmatically or where in database this information is stored.

Thanks in advance.

Andrzej

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Andrzej Warycha September 1, 2015

Ok I've found it. This information is stored as jira.properties

To get list of current plugin build numbers You have to perform following SQL query

SELECT pe.id,pe.entity_name, pe.property_key,pv.propertyvalue as build_number
FROM propertyentry as pe left join propertystring as pv on pe.id=pv.id
where property_key ilike '%:build%' order by 1;

 

Volodymyr Krupach
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.
September 1, 2015

I see it's stored :-). Thank you for sharing the result!

0 votes
Volodymyr Krupach
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.
August 28, 2015

I guess that plugin build number is a value set during publishing your addon to the marketpace and there is no such info in JIRA db.

image2015-8-28 15:52:17.png

TAGS
AUG Leaders

Atlassian Community Events