Link to comment within issue in JIRA - jira

Given an issue in JIRA with multiple comments, is there an easy way to link from one comment to another?
I can use the permalink, but that's a very long and ugly URL. I can also link to e.g. http://jira.example.com/browse/ISSUE-999#action_555213, but that's also rather cumbersome.
Is there a more convenient way? I remember being able to write "#12" in bugzilla to link to comment#12 in a bugzilla issue, but I can't find something similar in Jira.

AFAICT this is unsupported. This was requested by a (paying?) Jira customer a couple of years ago and was shot down: https://jira.atlassian.com/browse/JRA-19537. More recently this was requested again: https://jira.atlassian.com/browse/JRA-28976 and has yet to be addressed by Atlassian.
For now the best you can do is take mliebelt's advice and use the permalink.

Not sure if this is standard, but in the Jira we are using, in the permalink for the comment you want to link to there is a "#comment-NUMBER" part.
When I just used this within the same Jira issue in a comment as a link (e.g. [#comment-NUMBER]), this linked correctly to the other comment without reloading the whole page.
Hope that helps.

Try to add in the comment something like that (hope it works with the wiki syntax here):
This is the text of the comment.
The [comment #5|http://jira.example.com/browse/ISSUE-999#action_555213] bla bla ...
Some more comment.
This is then shown as:
This is the text of the comment.
The comment #5 bla bla ...
Some more comment.
That should be possible if the wiki syntax is allowed for JIRA. See the documentation at Atlassian. The description and comment field are normally shown with the wiki style renderer, so you can hide the ugly URL under a more readable one.
And yes, it uses an absolute URL because JIRA does not allow anything else. I stick to solutions that work now sometimes, even if they may break in the future ... ;-)

Need to add link to hashtag comment number. So basically for any text, insert link and type hash+comment number link this.
So link will not be full link but only hash+comment number.

Tl;dr: find out the comment id attribute and add it prefixed by the "#" symbol to the issue URL. There seems to be no clickable solution right now. Also this solution only semi-works.
Jira comments at the time of writing have an id attribute which contains the comment number. As you may know, you can add an element id attribute as the fragment identifier to jump to it after loading the page.
Hence, URLs like
https://YOUR_JIRA_HOST/browse/ISSUE_NUMBER#COMMENT_ID_ATTRIBUTE
for example
https://myjira.com/browse/Issue-1234#comment-987654
will link to the comment.
From my tests, this only sometimes works. Seems like it's the best option available right now though.

I just discovered today:
There is the "new Jira issue view" which seems to be active by default at least for recent registrations, it doesn't support links to comments.
But if you deactivate the "new issue view" under your accounts Jira Settings ( https://[subdomain].atlassian.net/secure/ViewPersonalSettings.jspa ) > Jira Labs:
You will get the "old jira issue view" that offers a "Permalink" for every comment.
Those permalinks work for everybody, since it renders the issue in the "old jira issue view" even for people that have the "new Jira issue view" enabled.
The link looks like this:
https://[subdomain].atlassian.net/browse/[issueKey]?focusedCommentId=[commentId]&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-[commentId]

Update: Currently if I just add the title of the issue to the body, it will automatically be converted to a link.
i.e. "This is the body of an issue that relates to SAVE-10139 and needs to be completed"

Just using [issueid-nnn] seems to work now (at least in onDemand)

Related

Search for issues in Jira

I am new to Jira so the question is as follows. How in Jira to find all issues by a certain label and containing a certain text (in the title or description of the issue) ?
Working out the answer to this question could be done easily by reading some related SO questions, and the official documentation and learning from them. Please try to do your own research first before posting on SO.
That being said, here's the (an) answer:
The JQL search query would be something like (summary ~ "text" OR description ~ "text") AND labels in ("label1", "label2")
I strongly suggest reading the Jira documentation if you expect to do this often, to get a proper understanding. Also make sure to change to cloud docs if you arent on server or DC (however its not very different so not a big deal).
There is one search box at the top right corner where you can search the JIRA item by id or description

Clean URL links from table of contents in MS Word

I don't know how appropriate it is to ask a question about MS Word here but I'll do so anyway..
I have a word document and I am exporting it to html, I have a table of contents, with links to the appropriate headings. The issue is that when I click on a link, it gives me something like a #Toc_81682617 in the url. Is it possible to instead have a #Summary or #1.1Summary
Thanks in advance to any enlightened souls out there
This should be in a comment but I am not allowed to comment because too new.
This would be better posted in the Word Answers forum hosted by Microsoft. This forum is about programming.
That said, as far as I know, this is the nature of automatic bookmarks generated by Word. I know of no way of automatically modifying them.

How do you add linked text to a description in Asana?

There is a similar question here but the person answering said it is not possible. I have to believe he did not understand the question...
So I apologize for asking again... I can paste an entire url into a description field in asana and it will render as a link. But I can't figure out how to shorten it to something like short text or [short text](myurl)
Unfortunately, he's right: we don't let there be different text for the link than the text in the url, so it's not possible to have a link to short text, only things like http://myurl.com. This is somewhat mitigated by the fact that we'll truncate the url when displaying in an Asana text box (it will run on for some characters, then terminate with "..."), so extremely long urls shouldn't cause too many text layout issues. This is enforced at render time, so there's not a way to do this with the API either.
There are a number of reasons for this - security, as he mentioned, is one; more clarity is better here. We've got some customers that don't want to enable, for instance, <a href="http://hijacker.com/pwned">example.com<\a> links that their non-technical users might encounter without thinking about it - basically, they don't want the same level of paranoia in Asana as is required to be a responsible email user, so we went WYSIWYG here.
I'd be interested, however, if you could come up with a compelling use case for why this is necessary. We're always up for getting feedback!

Is there a way to disable email engines from automatically hyperlinking a URL?

One of my clients wants to disable the URL to be shown as a hyperlinked URL, it has to be recognized as plain text, this is what I have tried:
ur<!comments>l
I have also tried to remove the <a></a> tag, as well as remove "http://" of the URL, none of them worked in Outlook. Outlook still recognized it as a hyperlink.
Anybody have any workaround here?
There is a zero-width non-breaking space that I like to use: 
I place it in strategic places so that the URL does not get recognized as a URL, like so: http://wwwdomain.com.
This strategy has worked for me across platforms and rendering clients. Its advantages are twofold: 1) it prevents the client from auto-rendering text as a link, and 2) unlike other "non-breaking" zero-width space ascii codes (ie ), it wraps the entire URL if your URL happens to need it (instead of just the parts after the zero-width space).
Try it out.
Credit belongs to my coworker, actually. Seems to work in all clients that we tested.
www.websitename.<img src="" width="0" height="0">com
An empty image tag with 0 width and 0 height. Insert it between the dot and the following text (in this case "com").
After we tried several things, he somehow suffered from a moment of inspiration/brilliance.
No visible spacing between the characters. Not sure what will happen if you copy/paste the string into a browser directly, though. It served my purpose of not allowing email clients to automatically make it a hyperlink, though.
This one worked for me. It is a combination of Scott's answer and David K. Hess's comment.
Break your url using <span>. However, you need to break it in a way that they are not matched as url when the mail client scans it.
eg: http<span>://</span><span>google.</span>com
You can turn off auto-hyperlinking in general. Here is a tutorial for Outlook 2007:
Turn automatic hyperlinking on or off
I have a similar issue with words like "chequed.com" and "interviewing.com" that are creating a hyperlink in my messages when I do not want it to.
The first step I took was to edit the HTML link tags.. but there weren't any.
After that, I went to the text in the email and added a very small space by using a fount of 8pt (im using an ESP, otherwise I would have gone with 1px)
This may help if you're having the same issue.
My solution for this is
http://...
I contacted Gmail's support and spoke with a department manager for Apple Care. This is expected behavior and cannot be prevented. These hacks no longer work, and if implemented could result in your IP being listed as a phishing operation. You're dancing around security issues here. I would suggest revising your content strategy.
The only thing you can do currently is wrap all email addresses in mailto links and phone numbers in tel links. There are no other options available as of 2017.
I had success with janusoo's solution for years until for some reason it began to introduce line breaks on some clients. I found that I could proceed with ​
www.websitename.​com
You might try using CSS to re-flow the text.
<p>www.example.<span style="float:left">http://</span>com/</p>
If the part with "http://" still gets marked as a URL, try breaking things up in different places.
One other trick would be to replace the periods with some other Unicode character that LOOKS like a period but actually isn't. For example, "⠄" (U-2840) is a Braille single-dot.
Alas (!) I don't have any Microsoft applications I can test this with, but good luck with it. :)
If you use . to replace your '.' in your hyperlinks you'll solve Outlook 2007 Hyperlinking the URL.

I need to two bookmarkets for delicious

I am current researching on something and I need to create , lets say, two bookmarkets. If I need to read this article later then I just want to click on that bookmarket and it should tag the current open page with read_it_later tag.
The second bookmarket should do similar thing. This one is for watch_video_later.
I don't want any prompt or anything.
I looked around but could not find any working delicious bookmarklet. You can assume that my userid on delicious is dorelal.
Thanks
I must use delicious because there are other people collaborating on this one.
If you're using FireFox, get Read It Later add-on. It does all that and 100 other cool things.
Check out http://delicious.com/help/tools, there are bookmarklets and also links to applications / toolbars for various browsers

Resources