That's a subtle issue in ethics and comprises a major theme in ethical works written by Muslim scholars of ethics. (I personally recommend Jihad-e Nafs by Ayatollah Khomeini, a series of ethical lectures directed to seminary students wherein they are warned about taking pride in their religious/scholarly achievements).
But generally it all goes down to one's intentions. If one's intention is to belittle someone or claim a credit that is not warranted by one's credentials (since it's a fairly common conduct for people for example to put on a moral virtue based on a technical or professional merit, e.g. thinking or pretending that "you're a better person if you're a better engineer"), then it is sinful. Otherwise, if it's just about a professional necessity (e.g. some people need to know about your professional career), then it's OK to disclose your credentials preferably in a humble disposition and in accordance with the reason necessitating the declaration.
On the subjective level, Muslim ethical scholars tend to remind us about some basic Islamic doctrines to help us keep out pride from our souls in all stages of worldly accomplishment. One is the supreme superiority of Allah and our state of inherent servitude and humility before Whom all of our worldly accomplishments even combined lose stature. The other one, a consequent of the former probably, is our state of inherent indebtedness to Allah in all of our accomplishments. As Allah has it in the Quran:
Oh, mankind! You are all poor before Allah, and [it is] Allah [who] is all
rich and worthy of all praise.
Once these two points are sincerely remembered, we won't also feel arrogant over other people, when we have to disclose our particular merits over them due to some reasonable official and organizational demands because after all we know that all of our positive achievements are Allah's grace.