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

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 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

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!

1 votes
Henning Tietgens Community Champion Apr 24, 2013

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).

Henning Tietgens Community Champion Apr 24, 2013

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,042 views 13 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot