Hello. I'm trying to complete Jira official tutorial to create custom mail handler. I already tried to finish it several times but without success. When i'm trying to add my mail handler instead of parameter form window I'm getting an error:
The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.
Close this dialog and press refresh in your browser
Restarts and browser refreshes didn't help.
Also, I have problem with component IssueKeyValidator.java. I can't add it in pom.xml because of changes (now developers must use Spring Scanner annotation what will perform same actions). If i'm using spring annotation i'm getting error:
[ERROR] PATH/IssueKeyValidator.java:[8,2] cannot find symbol
symbol: class Component
Annotation is added right befor class:
@Component
public class IssueKeyValidator
{ ... }
I'm using Atlassian SDK to create plugin. Jira version: 7.2.2.
Spring Scanner is 1.2.13 v.. Already converted it to 2.0.0 but without result. Also tried to use Jira v. 6.4.13 for old version of Spring Scanner but still without success. Java_home is ok: poiting on jdk 1.8.*
In this case i have two problems but main question is how to fix mail handler.
I tried alot to find information about this.. in Jira systems - no result.
I will significantly appreciate any help to finish this. Patiently wating for response or addition questions.
With respect,
Alex.
P.S. My final task is to create incoming mail handler to change issue status (resolve, close issue) with help of special syntax (advance level).
What does the log file say when you're trying to add the handler?
Ok, that makes sense. Start at https://developer.atlassian.com/docs/faq/troubleshooting/unsatisfieddependencyexception-error-creating-bean-with-name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already tried to add <component> or <component-import> in plugin descriptor but without result. I'm getting error:
[ERROR] atlassian-plugin.xml contains a definition of component. This is not allowed when Atlassian-Plugin-Key is set.
For test, deleted line with atlassian-plugin-key from descriptor. Plugin started successfully but i received error on web page:
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.