The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable enter button in Issue Collector

QA Niels
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2024

Within my department, we are integrating JIRA more and more. To make it easier for our colleagues, I have created issue collectors. These issue collectors are embedded in a html code with javascript. 

There are two inconviences of using the issue collector:

  1. Pressing the Enter button will submit the issue, even when the collector is not filled in completely. 
  2. We cannot make custom fields mandatory so it is possible that issues are registered without filling in each custom field of the issue collector.

Question 1: Is it possible to disable the Enter key in the html code?

Question 2: Is it possible to check if all custom fields within the issue collector contains information (not empty) before submitting the issue?

Example of the code:Code example.png

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.