How to access to Jira service property values?

I have written a background service which extends AbstractService.I have defined some properties in this service which i need to access for example startday of the service.

Is there any API which would return the service object properties if i give the class name of the service or anything??

2 answers

1 accepted

I found a solution to use ApplicationProperties APi to access this value.Thanks.


AbstractService has a numerous "getProperty" type methods that you can use to retrieve service parameters upon the key of the parameter.



I want to access this values outside this class, in a different plugin.I have imported the plugin via component-import method i need to access the method/variable thats hold the value.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published 12 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

231 views 5 14
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot