The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Activity Transition tab for one project

Marat
June 1, 2020

I put script in Announcement Banner
It works

But how to hide information about transition in All tab?

jQuery(document).ready(function($) {
  JIRA.ViewIssueTabs.onTabReady(function() {
   callHideFunction();
  });
    callHideFunction();

function callHideFunction(){
  var project=getProjectName();
   if(project=='my_project'){
     AJS.$('#transitions-summary-tabpanel').hide();
   }else{
     AJS.$('#transitions-summary-tabpanel').show();
}
function getProjectName() {
var projectName = AJS.$("#project-name-val").text();
return projectName;
}
}

});

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.