Well the button should only show if you have that transition available from the current status.
Do you have a transition labelled 'Trashed' that goes from the 'Trashed' Status to somewhere else?
I bet you have the 'Trashed' status set as 'Allow all statuses to transition to this one', which unfortunately means it will show on every status you are in, including itself.
You are using "global transitions", i.e. transitions that go from any status to the destination status, which is why the transition shows everywhere.
To hide the transition from certain statuses (e.g. the destination status), you would need a 3rd-party app such as JMWE to add a Condition that returns true only if the current status is different from the destination status. Using JMWE, you would use the "Current Status" Workflow Condition.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events