We are working on the workflows for our Change Requests. We have a field called 'Change Type' (Standard, Normal, Emergency) For Standard changes we want to require a Template be selected from pre-approved change templates.
I can't find a simple way to do this because the 'Template' field is not a simple custom field.
Hi,
the value of the Templates field is always of type RegularImmutableMap and is not recognized as an empty value.
We implemented a groovy script in the Valdiator of the workflow to check if there is actually a value in the Map.
simply with isEmpty()
Hope that helps
BR,
Jakob
Hi Paul,
for a very similar use case we used in the past "Issue Templates" from Deviniti.
I am only a bit unsure because of your statement "the 'Template' field is not a simple custom field" - does this mean there is some mechanism already in place to which it would be required now to have attention paid or does that only mean you were not able to fulfill the requirement using the built-in custom fields?
When it comes to "Issue Templates" my question would be if you need to have all this working on customer portal or in Jira itself ("agent view") - basically when using the create button.
For the customer portal I am not able to tell right away if this approach would work there also.
Probably you could describe a bit further the setting as well as say something to the open questions, I think a solution should then be easier to find :)
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel, thanks for your response.
We are using the "Issue Templates" from Deviniti.
We want the Agents to select a Template if the 'Change type' custom field is Standard.
I attempted to write a post-function using Scriptrunner, but was not able to figure out the Template field, since it is not a standard type of custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might be our use case were a bit easier or structured otherwise so I cannot say anything specific, especially when it comes to the induction of ScriptRunner.
In case setting the default template (https://deviniti.com/support/addon/server/issue-templates/latest/default-template/) is not what you are looking for I'd suggest reaching out to Deviniti support. Probably this is the easier way round in that specific case?!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.