Issue/comment reporting - refactor action functions to use common code.
Issue/comment reporting - refactor action functions to use common code.

datagovuk/ckanext-issues,datagovuk/ckanext-issues,datagovuk/ckanext-issues,ckan/ckanext-issues,ckan/ckanext-issues,datagovuk/ckanext-issues,ckan/ckanext-issues,ckan/ckanext-issues