So this is "hypothetical" in the sense that it isn't a situation actually occurring right now, it's in the past and not 'emergent'. But I've been wondering about it for a few years and thought it could make a good Q&A entry.
My peer 'Anne' an Analyst Programmer is tasked with writing code and I'm a Business Analyst (but I have a background knowledge with IT, programming, databases etc but I'm not employed to do that -- I deal mostly with requirements, users etc).
We encountered a particular case where Anne doesn't know how to do this particular thing, she has raised it to the technical group but there will be a long lead time, etc etc. I knew how to solve this because of my past (not at this company) knowledge. So I wrote up, tested and gave to Anne the "solution" for how to do this task. It works, everyone gets the results they want, goes about their business, happy days!
Then much later, like after a year or so ... settings get changed in the environment where that fix is, so that it doesn't work any more. So it needs to be changed a bit. Anne raises it to the technical group, it gets put on their backlog, etc. But now we have a client facing deadline. So I suggest a fix, which is "quick and dirty" but not actually a hack, it's a legitimate solution but 'ideally' we would fix it another way. I know that but we have a deadline to meet.
Boss replies over email to the group essentially telling me to "get back to basics" and as a BA I get requirements etc etc and don't deal with code, programming, etc.
I wrote this code in the first place, even if I am "only a BA" because no one else was able to fix it. Now the boss is telling me to stay in my own lane.
is the boss right? (in content and in 'scolding' me in public?)
how to respond?
should I have taken the initiative in the first place or just let them struggle? (the reasons I did was 1. I like to share knowledge where I can and 2. I want to the job done for my own job security!)