Hello,
I have created a plugin following steps on this page:https://developer.atlassian.com/jiradev/jira-platform/email/tutorial-custom-message-mail-handler-for-jira (two times already).
atlas-run command created an instance of JIRA, I can see my plugin on Add-ons | Manage add-ons page but when I go to System | Incoming mail and try to "Add new incoming mail handler", my handler is not there. Please help me resolve that issue.
Thanks,
Janusz
Community moderators have prevented the ability to post new answers.
The screen only lists listeners that JIRA knows about from a file in the core code. It does not read the class names from add-ons. But it will work, just put in the class name of your handler in the text box.
I do not understand. Handlers is a combo box, there is no way to type anything there. What text box do you have in mind?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh, sorry, I was looking at an older version of JIRA. In order to get your email handler listed, you need to have it flagged as a handler in the code. Unfortunately, the page you've linked to is correct, and it works fine for me (Jira 6.4), so the question becomes what you've done differently from the tutorial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, you are right - it works if I do everything exactly as tutorial says. However I wanted to change package name, class names etc, to reflect my project. Will have to figure out why it does not work then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly, I'd revert to the slow method - change one thing at a time until it breaks, then you know which one is breaking it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I took that approach and eventually I'm moving forward with my plugin (I have proper namespaces and proper naming). Thank you very much for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I was unable to point you at a specific cause. When I've done it, it's always been the class name I've messed up, but I only found it by trawling through one change at a time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a note for everyone who is looking for a solution to a problem described in the subject. Please read carefully my notes and notes of Nic above. They explain what must be done to create plugin with your own naming/namespaces, etc.
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.