It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Save the plugin information in database

image.png

so the scenario is ,I have created analysis plugin in that  have create above form (using dialog box) . and after submitting the info. it display data in table like shown in below img.image.png

but when i refresh the page table info. gets clear ,so  basically what i want is to store this info. in database so when next time i will open issue it will show saved analysis info. of  respective issue .

  Please help me with this im new to jira . while researching I have came across two options 

1)Active objects 2) pluginsettings but it confusing me

2 answers

0 votes

Plugin settings are for storing settings related to the configuration of the app.  If you had things like the plugin is looking at a particular field or had options like limiting it to certain groups.

Active objects is where you would store data that you want to keep.  It has constructs that support things such as tables in the screen you've shown us.

@Nic_Brough__Adaptavist_  so should i use Active objects or Plugin settings?  and whats the difference between creating plugin (using atlas-create-jira-plugin) .and  refapp plugin(atlas-create-refapp-plugin)  .. i think for using active objects we need to create refapp plugin ,im i right?

@Nic_Brough__Adaptavist_  can u also give me the link of steps need to follow to save data of the form

You should have a read of what @Alex_Medved__ConfiForms_ said - it's the same answer I would give.

The easiest way is to use plugin settings / bandana properties, but the proper way, I believe, is to use Active Objects - https://developer.atlassian.com/server/framework/atlassian-sdk/developing-your-plugin-with-active-objects/

You don't have to create a refapp plugin (as anyway it is nothing else but a little bit "more" than an empty plugin created via "atlas-create-jira-plugin)")

You can add active objects module and required dependencies at any stage of your plugin development. 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you