Forums

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

Turning assign to me off based on issue type using behaviours

taxgaming May 10, 2018

Trying to hide the 'Assign to me' link and button on an issue type called 'Procedure'. It's not working using a variety of codes. Currently trying:

Assign to me.png

Any thoughts much appreciated. 

2 answers

1 accepted

1 vote
Answer accepted
Alexey Matveev
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.
May 10, 2018

Your code does not return a value. It must return true if you want to display these items and false, if you do not want to the items to be displayed:

if (selectedIssueType == "Procedure") {

return false;

}

return true;
taxgaming May 10, 2018

Thanks. Working now. For some reason I thought the function evaluated itself. 

I've also realised the 'Assign to me' doesn't remove the blue hyperlink. Shame. 

0 votes
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,

Any news about that? Have anyone succeeded in hiding the assign to me hyper link?

Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events