Inserting Custom Text Templates into Jira Issue Fields via Forge App

Hey everyone,

I’m currently developing a Forge app for Jira, and I’m looking for a way to allow users to insert predefined text templates into various issue fields like Description, Comments, etc.

Default field values won’t suffice in this case, as the goal is to let users dynamically select a template from a list directly within the field at the time of editing or issue creation.

Is there an approach or recommended pattern within Forge that would enable this kind of dynamic template insertion into Jira fields? Maybe there is a way to add custom elements to the toolbar of the rich text editor used for editing Jira fields?

Any insights or guidance would be greatly appreciated.

Hi,
you might be looking for opening issue create with prefilled values: https://developer.atlassian.com/platform/forge/apis-reference/jira-api-bridge/createIssueModal/

Or maybe uiModifications could also be a starting point for you: https://developer.atlassian.com/platform/forge/apis-reference/jira-api-bridge/uiModifications/

Thank you for your answer and the directions provided. I’m not sure yet if this approach will fully suit my needs, but I’ll definitely explore it further.

That said, ideally, I’d like to have access to the panel shown in the screenshot below. Do you happen to know if there’s any way to add custom elements or options to that dropdown? Being able to integrate into that UI would be the most seamless solution for my use case.