私の前の管理者がたくさん(50個以上)のカスタムフィールドを設定しました。
しかし、今ではそれらは使われていないことがわかりました。
そのため、私は使用していないすべてのカスタムフィールドを削除したいです。
しかし、一括で削除するボタンやチェックボックスが見つからず、管理画面からカスタムフィールド毎にトグルマークをクリックし、個別に削除を選択し続けなければなりません。
これは大変でとても退屈な作業です。カスタムフィールドの一括削除はできないでしょうか?
There's generally no need to have a bulk-delete of a custom field. It's not often people delete them, and when they do, it's usually only one or two at a time.
Thanks for the answer.
It is a very painful reality ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
今更ですが...
JIRA管理画面のカスタムフィールドの削除処理は
<BASE URL>secure/admin/DeleteCustomField.jspa のリクエストポイントで削除しているので、そのリクエストポイントに削除に必要なパラメータを渡してあげて、一括で消すという方法は技術的にはあるかもしれませんね。
例えば、以下のようなJavaScriptを
JIRA管理画面開きながらChromeのconsoleで実行するとか?
https://developers.google.com/web/tools/chrome-devtools/console/?hl=ja
var array = [消したいカスタムフィールドIDを列挙];
for(var i = 0; i < array.length; i++) {
var postData = {id: array[i], atl_token: AJS.$('meta#atlassian-token').attr('content')};
AJS.$.ajax({
type : 'POST',
dataType : 'html',
url : contextPath + "/secure/admin/DeleteCustomField.jspa",
cache : false,
async : false,
data : postData,
success : function(updateData, textStatus, xhr) {
},
error : function(XMLHttpRequest, textStatus, errorThrown) {
return;
}
});
}
まぁ、面倒ですが確認しながら消すほうがいい気もしますけど…技術的にはという回答でした。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.