How to easily copy a JIRA issue title?

Hello,

When committing a fix, we always include the issue number and current title in our commit comments. It's really bloody hard to get that text in JIRA from the issue detail screen - the title itself is an HTML edit box, and the ID # for the issue is buried in the title bar and elsewhere on the screen in fairly inaccessible ways.

Is there any easy way to get the issue ID and title into my pasteboard?

7 answers

1 accepted

0 votes
Accepted answer

The answer is "you can't".

4 years later, and thousands of bug titles manually selected and then manually formatted, you STILL can't do this.

Atlassian just redid the entire UI.  But they didn't change this.  I guess internally they like manually selecting and copy/pasting/formatting text?  I'm super frustrated.

It's because they don't expect it to be used like that.  If you're pasting it into places, you should be looking at better integration between tools, not copying and pasting.

I wish I could downvote as very unhelpful @Nic Brough [Adaptavist] for "you should be looking at better integration between tools". So if my company hasn't adopted a full Atlassian stack, I'm doing it wrong?

Like 2 people like this

No, there are other tools which integrate fine, far better than copy and paste.

I developed an Chrome Extension for this exact purpose.

Download the extension here : https://chrome.google.com/webstore/detail/jira-issue-easycopy/phkppaelmhlpnoolfdpfklchkmmncmlo

Go to your issue, press the extension button and you will have the issue number + issue description directly into your clipboard smile

If you are interested, you can browse the open source code here : https://github.com/maxday/jira-issue-easyCopy

Awesome! Thanks a lot!

The Chrome Extension link leads to a 404 now. Is this in the store under another name?

Hi Jonah,

For the issue summary/title and Issue key/ID, if you click on your mouse and hold it during srolling up or down, it will not direct you to the edit mode. you can try to put your mouse console at the end of the title on issue details page, click on it but hold your finger on and scroll left and up until include all the title and issue key. Then you can make a copy at on time.

Regards

That doesn't work, as it also selects the "Display" menu title.

It does work for me!

If you click between the project name and the issue key (there is no link active on this position) and hold the left mouse button, you can easily drag behind the summary underneath the key to mark key and summary in one step and past this into your comment. You only have to remove the line break after pasting.

Henning

That is what I've resorted to, but it grabs the "Display" menu title as well when I select it (at least in firefox).

In Firefox I have an additional line feed in the copied text but nothing else. Maybe this is different on your version of JIRA. Sorry.

hi,

Use filter result on to your dashboard with all the required columns.

Refer - https://confluence.atlassian.com/display/JIRA/Adding+the+Filter+Results+Gadget for more details.

Thanks, but I want to get to the bug ID and title from the issue detail screen, not from my dashboard, so this doesn't really help me, AFAICT.

The first link seems to not work anymore.

However there seem to be several solutions for Chrome:

 

i added the following code snippet to "announcement banner" /secure/admin/EditAnnouncementBanner.jspa which allows HTML and it added Text to Ticket number in Single Issue view, Search and Agile Board

tested in Chrome only but pretty sure FF will work or easy to adjust

<script>
setInterval(function() {
	var custAttr = 'data-issue-text-updated'
	var issueKeyElement = document.getElementById("key-val");
	if (issueKeyElement && document.getElementById("summary-val")) {
		if (issueKeyElement[custAttr] == "true") {
			return;
		}
		issueKeyElement.innerHTML += " - " + document.getElementById("summary-val").innerText
		issueKeyElement[custAttr] = 'true';
	}
	//* Agile Board
	var issueKeyElement = document.querySelector("a[title='View this issue in JIRA']");
	if (issueKeyElement && document.querySelector("dd[data-field-id='summary']")) {
		if (issueKeyElement[custAttr] == "true") {
			return;
		}
		issueKeyElement.innerHTML += " - " + document.querySelector("dd[data-field-id='summary']").innerText
		issueKeyElement[custAttr] = 'true';
	}
}, 1000)
</script>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

442 views 0 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you