is there any option to add gadget on dashboard using code ? let say when user install my dashboard plugin at that time i want to add all available gadget with plugin will auto added on dashboard .
Yes, you could create code in your add-on that lists through all dashboards, and adds your gadget, but don't.
It's not a simple loop - your code will need to deal with
I would not bother to do this at all. It's a lot of effort for no gain. I'd install the add-on and then stick an announcement banner up saying "hey, there's a great new gadget, please try it"
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs