I'm writing a plugin for jira in version 5.0.5
and I want to use MentionIssueCommentEvent in my project
and as this doc said this package (com.atlassian.jira.event.issue.MentionIssueCommentEvent) is available for jira 5.0.5.
but when i attempt to import it in my plugin it gives me this error:
The import com.atlassian.jira.event.issue.MentionIssueCommentEvent cannot be resolved
what can i do to resolve this problem?
thanks in advance,
Are you trying to catch the "issue moved" event? If so, following this listener tutorial.
You can check the event id to ISSUE_MOVED_ID instead of events given in the example.
thanks jobin
there was a problem in my atlassian-plugin.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you added following dependencies to your pom.xml
<dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-api</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-core</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.