J. J. Walsh was born in the townland of Rathroon, near Bandon, County Cork. His family came from a farming background, "working a substantial holding of medium but well-cultivated land". Until the age of fifteen, Walsh attended a local school in Bandon, but by his own account "as far as learning went, I may as well have been at home". Together with his school-friend P. S. O'Hegarty, he passed the Civil Service exams for the Postal service. He later worked locally as a clerk in the Post Office. Like O'Hegarty, he spent three years in London at King's College, studying for the Secretary's Office "a syllabus differed little from the Indian Civil Service". While O'Hegarty succeeded in his studies, Walsh did not, and returned to Cork where a friend, Sir Edward Fitzgerald, arranged work for him on the Entertainments Committee of the Cork International Exhibition.
Sport
Walsh was active in the Gaelic Athletic Association, promoting Gaelic games in many areas, but particularly in Cork city and county. His interest in organised sports had a strong political dimension.
I happened to be one of those who realised the potentialities of the G.A.A. as a training ground for Physical Force. Contamination with the alien and all his works was taboo. I gathered around me a force of youthful enthusiasts from the University, Civil Service and Business. With this intensely organised instrument, war was declared on foreign games which were made to feel the shock so heavily that one by one, Soccer and Rugby Clubs began to disappear.
He was involved of the founding of the Cork CityIrish Volunteers. He participated in the Easter Rising in 1916 in the G.P.O.. He claims he was responsible for mobilising 20 members of the Hibernian Rifles and took them to the GPO However Commandant Scollan contradicts this account. He was promoted from Rifleman to Vice-Commandant of the Hibernian Rifles in 1915. He was arrested following the general surrender and sentenced to death after a court-martial at Richmond Barracks. This was almost immediately commuted to life imprisonment, but he was released the following year under a general amnesty. In autumn 1919 he was involved in a failed assassination attempt on Lord French. Walsh was elected as a Sinn FéinMP in the 1918 general election for the Cork City constituency. As a member of the 1st Dáil he was arrested for partaking in an illegal government. He was released in 1921 and supported the Anglo-Irish Treaty and went on to become a founding member of the new political party, Cumann na nGaedheal. Walsh served as Postmaster General from 1922 until 1924 and joined the cabinet of W. T. Cosgrave between 1924 and 1927, after the office was reconstituted as the Department of Posts and Telegraphs. He was elected at every election for the Cork Borough constituency until 1927 when he retired from government. In August 1922 he was part of a government committee which was intended to consider what the "Irish free state"'s policy towards North-east Ulster would be. During the Second World War, known at the time in Ireland as "The Emergency", Walsh's connections with fascism, including his association with Ailtirí na hAiséirghe, brought him to the attention of the Directorate of Intelligence G2, the Intelligence branch of the Irish Army. Their request to the Minister for Justice, Gerald Boland, to place a tap on Walsh's phone was, however, refused. On Sunday 24 April 2016 a plaque commemorating J.J. Walsh was unveiled in Kilbrittain.