wiqlを使用して読み込まれたバグのリストを含むグリッドを返す独自のVSTS拡張機能を作成しました。VSTS拡張 - グリッドソース内のハイパーリンク
(UIコントロール)グリッドにバグのタイトルとハイパーリンクを追加して、バグにジャンプするタイトルをクリックすることができますようにします。私はそれを行う可能性を見つけることができませんでしたが、私はそれが不可能ではないとは考えていません。
これは私がグリッドに私のソースを構築しています方法です:
var sourceArray = workItems.map(function (w) {
return [
w.id,
w.fields["System.Title"],
w.fields["System.State"],
w.fields["GrundfosScrum.gfSeverity"],
w.fields["GrundfosScrum.gfLikelihood"],
w.fields["System.AssignedTo"]];
});
以降:
var options = {
width: "100%",
height: "500px",
source: sourceArray,
columns: [
{ text: "ID", index: 0, width: 100, headerCss: "mystyle" },
{ text: "Title", index: 1, width: 200, headerCss: "mystyle" },
{ text: "State", index: 2, width: 100, headerCss: "mystyle" },
{ text: "Severity", index: 3, width: 200, headerCss: "mystyle" },
{ text: "Likelihood", index: 4, width: 200, headerCss: "mystyle" },
{ text: "Assigned To", index: 5, width: 300, headerCss: "mystyle" },
]
};
私はw.fields["System.Title"].link(w.url)
でw.fields["System.Title"]
を交換しようとし、結果は表内のHTMLのハイパーリンクでしたグリッド内のハイパーリンクの代わりに。
アイデア?
アイデアはありますか?それとも単にサポートされていないのですか? –