How to load web resource in Dashboard item?

Hi - I want to load few javascript libraries including d3 when my dashboard item loads.

So far i am loading it in using atl.dashboard context so all the libraries are being loaded in batch mode. (in batch.js file).

Now issue is this file contains resources of other app too. so libraries are getting overriden by other app.

What is ideal way of loading app specific libraries ?

To access specific resources in your plugin you need get it urls.
For getting urls POST to https://{JIRA}/rest/webResources/1.0/resources with json payload.
You can find example in Chrome Network tab.

@mashintsev - My requirement is load these libraries in soy template. How can i use this URL inside SOY template?

Now issue is this file contains resources of other app too. so libraries are getting overriden by other app.

Are you loading the libraries as globals?
You could add an AMD module wrapper for your library such as

define('library-for-my-awesome-app', [], function() {
   //library code
 return library;
});

And require it from your code, something like

define('custom-code-for-my-awesome-app', ['library-for-my-awesome-app'], function(library) {
  // your version of library
});

My requirement is load these libraries in soy template. How can i use this URL inside SOY template?

Could you elaborate why you must load JavaScript libraries inside soy template?