pom dependency for AbstractEditConfigurationItemAction?

KC Wong May 19, 2022

I'm trying to add configuration to my plugin, but the project (generated using PluginSDK) does not include AbstractEditConfigurationItemAction (class definition not found). 

What is its pom dependency?

1 answer

0 votes
KC Wong May 19, 2022

pom generated by pluginSDK has this commented out: 

<!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
<!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->
<!--
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
-->

Once uncommented, the class AbstractEditConfigurationItemAction can be found.

But is that still the recommended way to develop a plugin with configuration, as the comment suggests a new way? 

Suggest an answer

Log in or Sign up to answer