a Bamboo trigger is not what you can use in this context as triggers in Bamboo determine when a build is fired.
Not exactly knowing what the tasks in your plan X are supposed to do, if you rearrange your tasks in a way that b was your last task running in this plan, then by Bamboo's dependency feature, it could kick off plan Y.
Please find details here: https://confluence.atlassian.com/bamboo/setting-up-plan-build-dependencies-289276887.html
Hope this helps.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
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