I’m wondering if I’m going in the right direction, so I would love to have input from more experienced plugins developers.
The need: we have a self-service project in Jira where people can create projects based on templates, tell which users will be admins, activate Structure, etc. It’s all based on workflows, screens and post functions running Groovy code (ScriptRunner).
Now, we want to extend that to display information coming from CSV files that contains a list of applications and components that people can select, and the new Jira project will be named based on the selected information.
The way I wanted to do it is to create a plugin that will use the scheduler to import the data into Jira with tables (entities) unique to the plugin, create a REST module to expose the data and use ScriptRunner’s Select List Conversions to display details coming from the REST module.
I did work on this, but the main issues are that serialization of the Active Objects entities is not working because the entities are interfaces, and the scheduler examples are not working with the current SDK, but that part could be worked out.
Am I going in the right direction? Anyone had any luck with REST services and AO entities (didn’t find anything useful in searchs)?
FYI, we are running Jira Data Center, that’s partly why I want to do a plugin so that it’s cluster safe.