Hi, I am using Invoice Ninja for quotes and invoices, I would like to have notifications from Invoice Ninja to post to a customer's ticket thread.

When creating a quote or invoice in Invoice Ninja, we enter the customer's ticket number into a custom field. The custom field is then included in the subject line of outgoing email alerts to the client.

The osTicket email is BCC'd on all notices that go out from Invoice Ninja.
I'd like for when for instance a customer approves a quote or pays an invoice, for the notice to post to their ticket thread. This way there is a clear log in one place, and agents will know when a customer has approved a quote or paid.

Currently, when the email hits osTicket, it just creates a new ticket instead of matching on the ticket number in the subject line.

After some research, I realized that this seems to be by design, and unless an email address is listed as a collaborator on the ticket, it will not post to that ticket.

Is there some way I can bypass this globally, or even just white list one email address or domain that is able to post to ticket threads, regardless if it is listed as a collaborator?

Thanks so much!

  • KevinTheJedi replied to this.
  • KevinTheJedi
    Ok, I'll try to whip something up. Thanks for pointing me to the correct file.
    I assume I can define the email address with a variable, then modify the if condition to bypass the checks if the address is white listed.

    Do you see that creating any unforeseen issues?

    Thanks.

    KevinTheJedi

    Yes, I am adding a "#" before the ticket number, but it always just seems to create a new ticket rather than posting to the existing thread. I believe I read somewhere on the forum last night that since the sender is not a collaborator on the ticket, that it will not allow it to post and will instead make a new ticket.

    I wasn't sure if there was some way I could override this.

      KevinTheJedi
      Ok, I'll try to whip something up. Thanks for pointing me to the correct file.
      I assume I can define the email address with a variable, then modify the if condition to bypass the checks if the address is white listed.

      Do you see that creating any unforeseen issues?

      Thanks.

        Shrivel8920

        When customizing the codebase you are always on your own as you are deviating from core. You will proceed at your own risk. Good luck!

        Cheers.

        Write a Reply...