Flyspray - The bug killer!

  • Status Planned
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Backend/Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version 2.0
  • Due Date Undecided
  • Votes 3
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Jordan Mendler - 17.01.2013
Last edited by Psychokiller1888 - 07.03.2015

FS#1819 - Communicate via email

Need to be able to email back and forth to communicate with flyspray. Ideally flyspray can be CC'ed on an email or can replay to a notification which would add the body and/or attachments to the thread. This goes back to reworking the way people interact with and view tickets

The task depends upon
ID Project Summary Priority Severity Assigned To Progress
1812 Flyspray - The bug killer! FS#1812 - Multiple email addresses Very Low Low Yunzhong He
20%
Col commented on 25.01.2013 09:13

I have already added this in my 0.9.9.7 version. Its not the best piece of coding I have ever written but works a treat.
It has made a massive difference for the organisation I work for, it now allows for non registered users to email in their support tasks and permits them to simply reply to the email sent back to them to add new comments to the task.
Doesn't handle attachments though.

Admin
Jordan Mendler commented on 25.01.2013 09:29

Col,

Any way you could submit a patch?

Admin
Jordan Mendler commented on 25.01.2013 09:30

Or better yet, if you could merge it into Git that would be even better

Col commented on 25.01.2013 09:34

No problem, will try and get it done this weekend.

Admin
Jordan Mendler commented on 25.02.2013 17:38

Col,

Never got the patch. Do you mind submitting it?

Col commented on 27.02.2013 13:33

Jordan,

I have attached 2 files.
The file that I am currently using (cron.emailParser.php) gets called every minute via a cron job.
It is certainly not pretty code, but, for my purposes it works a treat.

The second file is a email parser script that I use in another project I have. I was planning on using this to replace the email parts of the other script as it handles attachments and generally is more bullet proof.

Hope this helps.

Regards
Col

Project Manager
peterdd commented on 14.02.2016 07:44

TODOs for an Email2Flyspray create task/update task feature

Usage of Flyspray configuration and classes as far possible:

  • database, config, classes, files
  • imap server INBOX settings for the inbox configurable in Flyspray global admin area similiar to the smtp settings
  • Simple test button so admin user can do a simple check if it is setup correct

what methods do we implement to be sure the Email comes really from an authorized Flyspray user and is not faked? Checking PGP signatures or similiar comes to my mind.

Format for the users that Flyspray can analyze easy:
For example create a new task:

email subject: FS[projectname or project_id] followed by task summary
email body(text):

severity: one integer (optional, acceptence depends on user rights in the project)
priority: one integer (optional, acceptence depends on user rights in the project)
assignees: usernames (comma separated, optional, acceptence depends on user rights in the project)
status: one integer (optional, acceptence depends on user rights in the project)

all text following goes to the task description.

links: links (optional, urls with or without protocol prefix (fallback to http://?) comma separated, acceptence depends on user rights in the project)
attachments: check if they are only signature images or real attachments for the task. Validation of attachments (file types, content,..) if checks ok, add them to the created task.

If the email subject contains only a html part and no text part, the html should be stripped from html tags first.

Before implementing this, there must be the "multiple email feature" done right, see FS#1812.

Project Manager
peterdd commented on 18.10.2016 17:03

Maybe use existing rules (or parts of) of another bug tracker - bugzilla: https://www.bugzilla.org/docs/3.0/html/api/email_in.html

So not to reinvent the wheel..

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing