How I add custom link in Issue-link-section - jira

I am creating a JIRA(Version- 7.2.2) plug-in, Here I want to insert my custom link in Issue-link-section. For your better understanding please view the below image.
Click to View Image

In order to add you custom link on that dialog you need to edit the bundled plugin associated with that dialogue. Technically that dialogue is part of the jira-issue-link-web-plugin which you can find the JAR file as jira-issue-link-web-plugin.jar in your installation directory. If I'm not mistaken you need to edit the velocity file in that JAR file and add your links over there. There is no way to add it from the UI unless you want to edit the JAR file and upload it as a newer version in your JIRA. Please note that it's bundled plugin and changing it may cause some malfunction in your production then be careful and test it in staging first.

Yes shailendra,You can try below solution for your query-
<web-item key="example-create-link" section="create-issue-link-types" weight="100">
<label key="MyCustomLink"/>
<link linkId="link-issue">url</link>
</web-item>

Related

Why can't I view or edit Umbraco templates?

When I open the Umbraco (7.6.3) backoffice, I'm unable to view or make changes to templates. It seems like other functionality is unaffected, and I can create & edit specific pages. However, attempting to open the templates themselves just leads to a white screen. This problem exists across browsers:
Other screens render just fine:
What gives?
Checking the console when attempting to load gives an interesting error:
Error: Argument 'Umbraco.Editors.Templates.EditController' is not a function, got undefined...
Resolution:
The issue seemed to be caused by outdated files in the Umbraco folder. Copying most directories over from packages\UmbracoCms.7.6.3\UmbracoFiles\umbraco\ seems to have done the trick.
Looking at the changelog, it seems like the JS folder was the most influential in getting this fixed.
Are you sure that you're on 7.6.3? The UI appears to be pre-7.6 (I can tell because the colours haven't been updated).
If you have just upgraded, it's possible that your browser has cached the JS which is used - hard refresh your browser to see if the UI updates.
Umbraco also uses a dependency service to compile all of the used JS/CSS files together into one large one. This service will not be used if your website is in debug mode. Either:
Turn debug mode on in the Web.config
Delete any files in the \App_Data\ClientDependency\ folder as this is where the cached compiled files are kept (these will be regenerated)
My first thought would be file permissions.
Have you run the health check for permissions in the developer section? Need to make sure that your application pool user has write permissions on the Views folder.

Show bundle render options when coding (Style.Render-Script.render)

So I’m starting with mvc and I find hard to remember the name of my bundles. When using visual studio it seems easier to just drag and drop the script I need instead of going to my app_start folder and check the name of my bundle.
Am I doing something wrong? Is there any way to show my bundles when I write Styles.Render.
I’m using reshaper too but no option is showed.
Here is an example.
Seems easier to drag and drop my script/style:
Than writing #styles.render() because it won’t show my bundles so I have to go to my app_start folder and copy-paste it (What I actually do).
If there is an easier way please let me know.
Thanks
Normally you'd create a _layout.cs that imports the styles for most pages, that solves most of your issues, since you only have to do it once. Then what I normally do is create a bundle config for a specific page that has the same name as the controller or view (easy to remember) which has the page specific styles and scripts. The Bundle Config is where I set this up. Resharper (8.1) does help me when selecting paths from my bundle configuration.

Online Addon Builder - How to display custom icon for the extension inside Firefox's Addon Manager

Online Addon Builder - How to display custom icon for the extension inside Firefox's Addon Manager?
I know that's a more general question and before I can even submit this someone is going to throw a link at me but I've been there trust me...
I've built my addon using the online addon builder but I'm not ready to submit it to AMO for review quite yet as I feel it needs more to be complete. I can't find specific information relevant to exactly what I want to do using to online addon builder. I've installed and configured the localized SDK that is utilized using a tool called cfx and of course theres tons of documentation!
The Question: What all notable values can be set using the package.json that determine how the addon is displayed inside Addon Manager? What notable material/configurations can't be set using package.json and how do I implement them?
I've removed all warning and errors from my code but I'm using a hardcoded path to a image whereas before I was passing it as an arguement within the PageMod object to a content script. Why? I'm not sure but I know one of you know how to configure the extension where I can specify chrome://ez-magnetz/data/icon16.png or somehing similar. Which is better than using a JUID in the path name that can change.
My widget has an icon but how do I specify a primary icon for the extension to be displayed in the AM? (package.json||chrome.manifest)
Using the latter of the two(chrome.manifest) how do I include that inside my addon so that its detected?(For the purpose of an Extension Icon using the online addon builder if possible)
Will someone please provide me with a chrome.manifest template for a basic addon?
Do I need the install.rdf and what has precedence over configuration is it like:
install.rdf>>>chrome.manifest>>>package.json
I noticed very similar settings amongst them.
I've been to XUL school I see that there is useful information it just seems outdated in the context of my addon.
I've read the basic info on the package.json and implemented simple prefs and of course the addon's description.
My understanding is that I've created a bootstrapped addon using
Mozilla's Online Addon Builder. Is that correct? The only thing I
wish to do now is to have a personal icon displayed for my extension
in the Addon Manager!
+ I'd like to know how I may have and option for users to donate on AMO!
Thanks for any help in advance
To add an icon, just follow these two steps:
upload the icon you want to use to the data directory of your add-on, eg 'data/icon.png'
Add the relative path to the png file as an extra JSON property in the add-on info dialog, for example this:
{
"icon": "data/icon.png"
}
See this screenshot for an example of what it should look like:
https://dl.dropbox.com/u/44296964/Screen%20Shot%202013-01-07%20at%202.15.49%20PM.png
Aside: please only ask one question per post.

Adding a button in django !

I wanted to add buttons or a url adjacent to "ADD CUSTOMER" button as shown in the image. Please guide me regarding the same.Where should i be making the necessary changes ?
please find the image here >> http://img138.imageshack.us/img138/170/query.png
Thank you
You add buttons/make changes in the html file, or your CSS file if you have one. If you're using Django make the changes in the /templates directory of your project, its the directory that contains the html files.
In this case what you are looking at is the admin site. The templates for this are located somewhere like "python-path/lib/site-packages/django/contrib/admin/...", but you can override these templates in your project. I'm not sure how easy it is to do what you're trying to do, but you can see this link for more information.

Sharepoint Doc Lib Content Types

So I would like it when a user creates a new folder in my sharepoint document library that 4 template documents also get added inside the new folder. I get that the user could just click on the document template for each template individual but I want them added all the time.
There doesn't seem to be an option to add template documents to a document lib folder content type.
Sooo.... Is my only alternative to create a custom sharepoint workflow that checks for the folder creation inside my doc lib. (Ideally maybe restricting it to only when a specific folder of my custom content type is created.. ) This seems like a simple workflow to create but I want to make sure that I even need to create one since I haven't actually created a custom sharepoint workflow yet...
Thanks,
Chris
You're right; there's no built-in functionality for this. It should be reasonable simple to write a workflow that runs when something is added to a library, checks to see if it is a folder, and adds the items into the folder. It would probably be easiest to have the template documents in another folder somewhere, and then copy them over.
Good luck!
I found this example that helped out a lot:
http://www.codeproject.com/KB/sharepoint/MOSS_FolderContentTypeWF.aspx

Resources