Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-02-14 21:19:45 -0500
committermkersten2007-02-14 21:19:45 -0500
commit2923a65bf73d68c510195bd9b85adafab868d981 (patch)
treeb239bf298b9d3b35d8a606cee0b26b73a17dcd5f
parent68891a76f27eda4c35e7ce6035636d99d7ccd6c2 (diff)
downloadorg.eclipse.mylyn.tasks-2923a65bf73d68c510195bd9b85adafab868d981.tar.gz
org.eclipse.mylyn.tasks-2923a65bf73d68c510195bd9b85adafab868d981.tar.xz
org.eclipse.mylyn.tasks-2923a65bf73d68c510195bd9b85adafab868d981.zip
RESOLVED - bug 165956: JIRA task editor should use public issue id in the header
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165956
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
index 4b42b691f..de3e9dbea 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
@@ -750,9 +750,10 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
createTextField(headerInfoComposite, priorityAttribute, SWT.FLAT | SWT.READ_ONLY);
}
- if (repositoryTask != null) {
+ String id = (repositoryTask != null) ? repositoryTask.getIdentifyingLabel() : taskData.getId();
+ if (id != null) {
toolkit.createLabel(headerInfoComposite, " ID: ").setFont(TITLE_FONT);
- toolkit.createText(headerInfoComposite, repositoryTask.getIdentifyingLabel(), SWT.FLAT | SWT.READ_ONLY);
+ toolkit.createText(headerInfoComposite, id, SWT.FLAT | SWT.READ_ONLY);
}
String openedDateString = "";

Back to the top