Hi there,
is there any way to avoid the selection of a customfield as a column of a xml export in the issue navigator section?
We have developed a customfield that loads lots of options and it takes a lot of time when users use the xml export option in the issue navigator. We want to remove that cf from the list of custom fields that users can select to export.
That's it!
Maybe is not the most elegant solution but it works. I have added the following script in the banner and now the option is not selectable.
<script>
AJS.$(document).ready(function(){
AJS.$("#issue-nav-add-columns-column-select").find('[value="customfield_13502"]').remove();
});
</script>
Moreover, I noticed that it is also necesary to delete all rows at columnlayoutitem where FIELDIDENTIFIER='customfield_13502' and restart Jira to avoid the execution of old stored queries containing that customfield as a column.
Thanks a lot LEP!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer, could you please tell me more about which kind of plugin are you talking about?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not by default no, you could create a plugin to do this for you, because the query can be restricted, so something like https://jdog.jira-dev.com/sr/jira.issueviews:searchrequest-xml/65261/SearchRequest-65261.xml?tempMax=1000&field=key&field=summarywill return the only the key and summary fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer, could you please tell me more about which kind of plugin are you talking about?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Other option is setting my customfield as non Navigable and maybe it will not appear in the list. Is there any way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was talking about a full blown web-item where you could then offer config options, but Luis answer works pretty well. Just one thing to bear in mind though is that this removes the value from the issue navigator as well, so if you want it in the issue nav and to be 'deselected' for export then you need to write a plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.