It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Answer 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 Sign up to answer
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

102 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you