Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Email Handler - Custom Requirement

Deleted user Jun 18, 2017

As per the documentation, Email Handler process the emails as below :

  • The subject  of an email message is examined for an existing issue key:
    • If an issue key is found in the subject, the content of the email message's body is processed and added as a comment to the issue with that issue key.
    • If an issue key is NOT found in the subject, the in-reply-to header  is examined:
      • If the email message is found to be a reply to another email message from which an issue was previously created, the body is processed and added as a comment to that issue.
      • If the email message is NOT found to be a reply, a new issue is created.   ------> The issue is created with entire email thread copied to description field .Our Requirement here is , when the new issue is created, we want the indiviual responses/replies in the email thread to be created as indivisual comments rather than pasting the entire thread into description field.

Rest of the behaviour need not to be changed.

Is this something which we can aheive using custom email handler?

I know that using some third party add-ons like Suite utilities and Workflow toolbox, we can copy the description field content into comment field. However, this is not suitable for our need as it will be applied to all the emails. Is there any other way we could implement this?  

Thanks!

1 answer

0 votes

You could write your own email handler to do your more involved business rules. 

But what about parse html emails?

Same answer - your own email handler could parse emails of any format.

:) But I thought already has good library for work with.

Thank you 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you