Hi Atlassian community,
As with most people, our fields and screens are configured based on the Request Type. We wish to be able to change [System] Service Request to [System] Incident. The transition works fine but post-transition the field layout isn't accurate as the Request Type defaults to null.
I understand that we can't make this happen as part of that transition because at that point in time, the issue is still a [System] Service Request. I've tried to automate the process to trigger when the Issue Type changes and then equals [System] Incident, but the 'Edit issue fields: Request Type' errors as JSM doesn't provide an API for this. (Screenshot below).
Is anybody aware of a workaround for this as we don't want to have to manually assign the only Incident Request Type we have each time we change an issue.
Thanks,
Luke
We have an on-prem install, and I tested the workaround suggested by @Mark Allen with partial success. It only accounts for when an issue is created from scratch. As in your case, we have issues that had the wrong issue type initially, and you need to change the issue type, however I don't think there is an event trigger for issue type change, but you might be able to have an additional trigger of "status change" and look for the customer request type value. One additional catch: "No match" can be the result of customer request type being NULL/EMPTY, but it *also* can be a "No match" when it is still populated with the customer request type from the prior Issue type (which happens to not be valid for new issue type). So: you will probably want your IF condition on the rule to look for IS EMPTY OR the origin issue type's customer request type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.