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.
Hey team! We brought back Codegeist in a big way this year, and today, we’re thrilled to announce the winners. 🎉 Thank you to everyone who participated in Codegeist 2020. This year, we go...
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