If this is run from within scriptrunner, you should be able to use HAPI to run that JQL search, then access, the resulting issue's custom field values.
def issues = Issues.search(searchCriteria).collect()
if(issues){
def workItemType = issue[0].getCustomFieldValue('Workitem Type')
}
But that assumes that the Workitem Type you speak of is a custom field. Maybe that's in the context of some other third party app.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.