Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Create customer tickets via web form proxying through to API Edited

An organization I represent has a use case as follows and is wondering if anyone in this community is able to point us towards specific steps (e.g. example implementations, even if in another programming language/site):

  • We have a publicly accessible website using Ruby on Rails
  • We'd like to create a contact form on that website that allows users to submit tickets to Jira Service Management.
  • The contact form would need to integrate with the Jira Service Management API.
  • If an email submitted on the form has no customer account, one will need to be provisioned/invited and then the ticket will need to be created using that new customer account.
  • If the email submitted does have an associated customer account, the ticket will need to be raised on behalf of the existing user.
  • We are unable to install any add-ons to implement this use case.

Has the community encountered a situation like this before? Are there any suitable sample implementations or code that we could implement into our site?

1 answer

0 votes
Ismael Jimoh Community Leader May 29, 2021

Hi @sau226 

In summary, your app is sending an email. The only thing you have to worry about here is that the email sent’s sender is usually not the user but your mailbox address.

You can work around this with an add-on like email this issue and so long as you allow JSM to create users automatically in your Project > Project Settings > Customer permission page, JSM would automatically create said user and if they exist, set them as the reporter.

So once again what you may need to figure out is how to ensure your original mail is sent as the sender you intend to set as reporter.

Cheers

Thanks for this tip, however due to email security policies mail may be discarded or rejected. For instance, if someone uses an icloud email and it is not sent by an actual icloud user, a spam filter will drop the email because of icloud's email policy. (Dmarc set to quarantine).

 

Is there a way for us to send in the ticket from our sender address to prevent the email being dropped, while also somehow flagging the customer as the reporter? If this can't be done, then is there any sample API code we could use to implement a similar solution?

 

Thanks,

sau226

Your app would need to know the email to send from, and be able to generate email apparently from that address.  That's not a Jira function or setting, Jira isn't creating the emails.

If you set the sender in your app, Jira will know that the sender is the customer.  I'm not sure what it does with reporter, as the reporter field is not the customer, it's a full Jira user, usually the agent logging the issue for a customer.

Like Ismael Jimoh likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

227 views 7 7
Read article

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