We use a repository called Alien Brain at our office. I noticed out of the box that JIRA will auto-generate links that can be clicked and that takes the clicker directly to the file in the repository. The comments look like this:
However, when someone is tagged in a comment, the email they're provided doesn't auto-generate these same links. (See below.) Is there a way to make it create the same links in the corresponding emails?
After trying for awhile to figure out why the link in my comments field wasn't working, I gave up on that and installed JEditor as the renderer for both the description and comment fields. That gives me the option to add a link to an <other> protocol URL because it is HTML. This means the source for the link is: <a href ="link text">link URL</> This is super clunky IMO - way too many clicks - but using the Wiki Renderer for these fields wasn't working at all so it is better than nothing.
The issue commented email that results does have a clickable link to the file. You get a security warning in Outlook, but it lets you through (may be a user setting to turn this off). Once you click ok, it launches the AlienBrain client and takes you to the correct file location. It doesn't work for me in Gmail though.
Using this allows links to network files... HOWEVER, it does require installation of plugins for your browsers as local file linking is turned off by default in all of them these days for security reasons. (This last bit of info is for anyone who sees this in the future and expects it to work automatically.) See the comments on https://confluence.atlassian.com/display/DOC/Working+with+Links for more info.
Tanner, can you tell me what renderer you are using for the comment field? Default Text, Wiki Renderer, some other one? I would love to be able to copy paste them and have them work even if the email doesn't.
Wow! I heard you guys were on top of it, but this is truly impressive.
Would adding the protocol mean that the links would be auto translated into <a href> when cut/paste is used in the main window, without using the link dialog? If I paste http://www.google.com it knows its a link automatically - thats what I really want.
The link dialog is great when you want to specify target, etc. - very useful for the testing team for example, so the pages they are testing open in a new window.
For our game designers, I want it as simple as possible for them to trace their asset back to its source location from the associated jira issue, with the fewest number of clicks.
(BTW, JEditor is fantastic for lots of other reasons too and we will definitely be including it in our must-have list of addons...who wants to type wiki markup??)
Since i haven't yet got any assistance from the pros, I've been doing a bit more digging. Thus far, this lead looks promising:
However, I haven't yet figured out what and where I need to edit to create something more than http:// and https:// links. (Specifically, i want alienbrain://[sometext] to be made clickable in emails received by our user base.)
What links does it include? What event type is the notification that does not contain the information? it it just a comment notification?
From what I can see in sourcecode, if a user provides a comment including a url with a protocol, everything works (whatever protocol you provide), if it doesn't, it will default to a standard http:// link. Your received links default to...? A simple comment with an alienbrain:// protocol prefix seems to render as expected in an email.
The link rendering is done in Java, with I think, all roads ending at com.opensymphony.util.TextUtils.plainTextToHtml() --> hyperlink() --> linkURL() . But as yet Im not clear if a code change is needed. More details on what you receive and what youi want.
> what links does it include?
> What event type is the notification that does not contain the information?
the assignment notification will auto-link appropriately. comment notifications and tagging, however, do not create the proper auto-link.
what i receive:
an email with a link (alienbrain://). however, this link is simply text and is not clickable. the screenshot below shows an example email of what i'm trying to fix. note that the link is not clickable:
what i want:
an email with a *clickable* link . the example email below shows what i want it to do with all alienbrain links it finds:
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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