Javascript for specific project. What Module

I want to create an addon that will trigger a javascript for a specific project and issuetype.

It will read a field and based on that fields value, will put a template in the description of that ticket.

What module should I use in building this addon? How would I only trigger it on a specific project and issuetype?

Couple of ways of doing it. The easiest would be to do an web-resource module that just targets atl.general. This will then be loaded on every page. At that point you can pretty much do whatever you want (in your case - take a look at the Jira.Events object in page (there’s some documentation somewhere on developer.atlassian.com - but for the most part the server documentation is broken left and right - I think you want to find the new version of https://developer.atlassian.com/jiradev/jira-platform/fields/guide-inline-edit-for-jira-plugins ).

1 Like