Hey @Siya,
Can you share what you currently have? If a channel is only open while an issue exists maybe a quick solution would be to use the example you found here: Archiving a Slack channel after 30 days (workflow) - #2 by Jon and maybe start with a Jira Trigger so if the issue is updated and the status is closed / fixed get the slack channel field then do a search to see if that channel exists in Slack and close it.