6/25/2023 0 Comments Download jar jira client 4.0![]() If you see an ERROR Jira email address not found amongst recipients in the logs, you specified these parameters incorrectly or you are sending the email message to the wrong address.Īs of version 5.0 and later of the JIRA Advanced Mail Handler, the tags must be located AT THE END of the subject line - anything before the first tag mark (#) will be interpreted as the ISSUE SUMMARY.įor instance : Subject : I have an issue with your product #COMPONENTS=User_Interface #PROJECT=PRJ #DUEDATE= The jiraemail and jiraalias parameters have the purpose to ensure that a message was addressed to JIRA, so that spam does not go processed or, worse, ends up as an issue to the default project. In this case, in addition to setting jiraemail to you must also set the optional jiraalias parameter to to avoid all these hassles, my advice is to switch to a better mailclient - I personally recommend Thunderbird or SeaMonkey. The mailclient might also convert to the alias defined in the LDAP database, e.g. In this case you need to follow the second way and specify the project in the Subject: header. Also, some mailclient shows only the recipient Full Name and not the real email address, so it is difficult to tell who you are sending mail to. Some mailclient (as Microsoft Outlook) does not give the user full control concerning the recipient address in the composing mail interface for instance, if your company uses a LDAP database and has a record in it, these mailclients will not allow you to choose a Full Name for that email address and stubbornly put the Full Name defined in the database instead, no matter what you write. If you do not specify a valid project, the issue is created in the default project defined as the project parameter. For your comfort, you can create an entry in your address book for each project you're working on, with the project key as the Full Name and (which will be the same for all projects) as the Email Address. You always send the email to the address defined in the jiraalias parameter as well) what changes is that in the first way you add the project key as the Full Name part of the address. by adding the tag #PROJECT= project-key at the top of your email body.This overrides the project key in the address. by adding the tag #PROJECT= project-key at the end of the Subject: header.This address can be put in the To:, Cc:, or Bcc: header at your choice. by addressing the message to project-key.I recommend that you use plaintext format whenever possible (which is also recommended by the Netiquette). Some user reported problems when sending HTML email messages. This is done by adding one or more tags in the text of the Subject: header, in the format #TAG-NAME=tag-value or #TAG-NAME=tag-value1,tag-value2,tag-value3. On the other hand, the Advanced Mail Handler allows you to define several fields when creating an issue. You can also send attachments with your email, which will become attachments on the issue (if attachments have been enabled in JIRA). The body of the email will become the comment on the issue. To comment an already existing issue, the usage is the same as the default handler: just mention the issue number in the Subject: of the email message. ConfigurationĬonfiguration is performed through the included OSGI configuration text files. The add-on needs to be installed on an OSGI-compliant application server. The code has been written for the JDK 1.8 and utilizes Maven for the build: use the command mvn clean package to generate (in the target directory) the file emailhandler.jar. You don't need to compile the source code yourself unless of course you want to customize it. This software is not under active development, so no bugfix or new feature are planned for release. But if you are interested in helping out with the whole project feel free to contact me. Hence it is available "as is" under BSD license, with no guarantees whatsoever you are welcome to download and use it, however, neither CERN nor the author (I) guarantees any support. In the best open source spirit, knowing it might be useful for others, I made it available to the community. This tool was developed exclusively for CERN needs, and was not intended to be used by anyone else. Hence, one of its notable features is that you do not need to repeat the whole process (opening a mail account on your mailserver, creating a mail account in JIRA, associate a handler service to the mail account and configure it) for each project you have in your JIRA installation you just do the process once, setting a global mail account and handler service that will receive messages for all projects. The JIRA Advanced Mail Handler is an extension of the standard JIRA email handler it allows users to define many fields of the newly created issue (reporter, project key, type, priority, affected components, etc.) directly in the body of the email message.
0 Comments
Leave a Reply. |