Customizing JIRA 6.0

Kalyani Khandelwal August 8, 2013

Hi,
Greetings,
I need your help to customize our newly upgraded JIRA 6 server.
We have used linux installer to install JIRA 6.0 in our server.
I need to have following things configured in JIRA6.

1. Whenever there is a mail ID in CC which is not JIRA user already, that email id is completely ignored and not added to watcher list, if it is a JIRA user already, it is added to watcher list. which is a real problem in my environment as various users from different firms raise the issues in JIRA and the emails in the CC might be new to JIRA, so we need to configure JIRA to create a new user with that new email id and add it to watchers list.

2. The High importance mail will be raised as blocker issue, all user might not understand this and send high imp. mails so we need to change configuration so that these mails will be critical instead of blocker.

3. Its important for my team to print To and CC ed email ID list in the body of the JIRA case itself.

I understand that there is a developer page for developing an email handler plugin.

https://developer.atlassian.com/display/JIRADEV/Custom+Message+%28Mail%29+Handler+for+JIRA

But When I tried executing these steps in the linux server, and try to start JIRA with atlas-run command I get below error,

[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:pom:4.2.1' from repository central (http://repo1.maven.org/maven2): Error transferring file: Connection timed out
Error building POM (may not be this project's POM).


Project ID: com.atlassian.maven.plugins:maven-jira-plugin

Reason: POM 'com.atlassian.maven.plugins:maven-jira-plugin' not found in repository: Unable to download the artifact from any repository

com.atlassian.maven.plugins:maven-jira-plugin:pom:4.2.1

from the specified remote repositories:
atlassian-plugin-sdk (file:///opt/atlassian-plugin-sdk/repository),
central (http://repo1.maven.org/maven2),<br< a="">> repo.springsource.org (http://repo.springsource.org/libs-snapshot),<br< a="">> atlassian-public (https://maven.atlassian.com/repository/public)
<br< a="">> for project com.atlassian.maven.plugins:maven-jira-plugin

I tried it on Window machine too, it gives me below error.

Is there any way by which I can Achieve the three Objectives I have mentioned above.

Please let me know, any help will greatly appreciated.

Thanks,
Kalyani


1 answer

1 accepted

0 votes
Answer accepted
Kalyani Khandelwal August 26, 2013

If you are licensed user, you can download the code and change in the jira-mail-plugin source itself, genrate a JAR file using atlas-cli command and install it using Manage-add-on on JIRA. This will be one way to customize CreateIssueHandler.java while you propagate from older JIRA releases to newer plugin-customized JIRA releases.

Suggest an answer

Log in or Sign up to answer