Platform 7 changes with Jira 10 and rest v2 plugin

Hi @MarekTokarski,

As we implemented rest v2 changes in jira , but not sure that which invocation was triggering the call.

Here is the V1 and V2 OSGI bundles, both modules are supported by Jira 10.x

Rest V1 supported OSGI bundle

Rest V2 supported OSGI bundle


I have applied @Inject annotation on my parameter constructor. In addition to this, to support V2 implementation we added default constructor with log statement . But when I started debugging always the 2nd constructor parameterised one is calling. With this behaviour I am not sure V1 or V2 is handling the changes.

Where as Confluence default constructor 1st one is invoking for rest v2. Not sure how to know which implementation was invoking in Jira . Please refer this message to Jira developer team for this use case. In my default constructor logger statement was not printing in jira if V2 is handling the changes.

In Jira 9.x also the 2nd argument is calling always.

Here is my class where invocation happening with 2nd constructor and also had default constructor for handling Rest V2 changes.