Prefill Online Forms Based on Context
You can make submitting requests easier for reporters by prefilling specific data in online forms. YouTrack can fill in the values of certain fields in the form based on the context in which the form has been embedded.
When you can retrieve some essential data from the context and prefill this data in the online form, you can save the reporter the time to submit the form while still providing the required data in the request. Before submitting the request, the reporter can review and change the prefilled values or leave them filled with suggested values.
You can implement context-sensitive value suggestions in your online form by adding an extra JavaScript block with the form embed code.
To learn more about this feature and see a sample script, refer to the information in the Developer Portal.