Patching JIRA CreateIssueHandler

Hi all, I am new to JIRA and need to modify the CreateIssueHandler so that it can accept e-mails that come in without a subject.

My issue is not modifying the CreateIssueHandler.java file, my problem is with the actual patching part.

I am trying to follow the steps in https://confluence.atlassian.com/display/JIRA044/How+to+Make+a+JIRA+Patch

EDIT:

After I run mvn eclipse:eclipse

- Which project do I import?

- Okay, so I imported the jira-core project into eclipse

The problem I have now is that there are many errors such as

- The import com.atlassian.mail.MailUtils cannot be resolved among other similar errors

2 answers

0 vote

In Step 3, you need to download the whole source, not just a single java file!

But if you are looking to create a new handler, you don't need to patch JIRA. Have a look at this tutorial.

This only seems relevant for JIRA 5.0 , I have to make these modifications for JIRA 4.4

Creating handler should work in 4.4 too. JEMH plugin has been there for a while and that uses a custom handler.

Hi,

you need to update specific file for jira system.

1) Dont import all the jira into the eclipse.

2) if you have already developed plugin for the same version for e.g 4.3 or 4.4 you create package in that plugin.

3) package should be the same as the Package what we are using in the jira for that class

4) packages are nothing but the folder structure.

5) put your java file in that package edit make changes what you required.

6) atlas-run for plugin

7) you will find under target/classes/pkg/your.class

8) go to jira replace your class wich has the same name as the jira class.

9) Restart the server.

Regards,

Tousif shaikh.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,307 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot