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.
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.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events