Forums

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

How provide custom implementation to a Jira service

Gabor Botka September 12, 2018

Hello!
I want to customize JIRA ThumbnailManager to support specific file types. I was able to create and export service which delegates everything to the DefaultThumbnailManager, but JIRA does not call my implementation. What else I need to do?

2 answers

0 votes
Gabor Botka September 12, 2018

Hi,

thanks for the help. I read the tutorial, but I'm little bit confused. I think this tutorial register a service which is runned by the scheduler, and not replace an existing service. Did I miss something?

0 votes
Alexey Matveev
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 12, 2018
Alexey Matveev
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 12, 2018

Yes, it will run a new service. I think that is what you have to do. Write your own service and run it.

Gabor Botka September 12, 2018

I have ThumbnailManager service, but I don't find how can I register this service as the default (Primary). 

Alexey Matveev
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 12, 2018

You can register it as a new service. Why would you need to change the existing service?

Gabor Botka September 12, 2018

I want to generate thumbnails for our company custom file format. To do that I need to register my image generator service somehow. I think the ThumbnailManager is this extension point where I can register these kinds of services, but after I implement and expose my ThumbnailManager implementation I can not get any call from the system. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events