I'm trying to create a ticket via Javascript via the Rest Api. So far I've gotten everything working except for creating a ticket when the email hasn't already existed in our system. For instance, when I or a registered customer creates an issue ticket, the reporter is then registered with the associated email.
However, if I were to raise an issue using my personal email, or if someone else within a customer company were to raise a ticket through the rest api, it automatically sets it to anonymous. Here's my code, bear in mind we've done a bit of personalisation:
Hi Josiah!
Are you using JSM for ticketing or vanilla Jira? This can be done with JSM via api by creating a new 'customer' in the system before creating the ticket. If using vanilla Jira, the reporter field must be a registered user, so that's why you're seeing it come back as anonymous.
It sounds like JSM might but what you need. Happy to share more about how to get this working via the JSM api if that helps. I've been meaning to write up an article on how to do this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.