Forums

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

Has anyone succeeded in hiding the 'assign to me' hyper link for specific issue type in Jira 7.X

Marina Peer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2019

Hi community,

We need to hide the assign to me hyper link for specific issue type. We have successfully hidden the assign button using script fragments (by script runner) but the method doesn't work for the assign to me hyper link. 

Any suggestion would be appreciated...

 Cheers,
Marina

1 answer

0 votes
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2019

It should be easy enough to do that with script fragment>install a web resource.

What context did you try to install the script?

Perhaps you didn't catch the ajaxComple event?

Try this for your script:

(function ($) {
$(function () {
$("#assign-to-me").hide();
});
$(document).ajaxComplete(function () {
$("#assign-to-me-trigger").hide();
});
})(AJS.$);

Suggest an answer

Log in or Sign up to answer