I'm trying to configure an automation in a JSM project to create another request in the same project. I first tried to use the Create Issue action but found one cannot set the "Request type" field using the Create Issue action. I then tried to use the "Create service request" action but nothing ever loads (spinning animation).
I've tried, changing the Actor to a site admin and doing the automation as a global automation but I never get anything to show up on the screen after waiting a few minutes.
When looking in the browser console, the called endpoint returns no results. The URL has been sanitized ("siteName")
If this is really broken I guess I could setup a workaround, using the Create Issue action and some temp ~flag, where after the item is created it automatically edits the issue's Request Type.
{
"size": 0,
"start": 0,
"limit": 50,
"isLastPage": true,
"_links": {
"self": "https://siteName.atlassian.net/rest/servicedeskapi/servicedesk/15/requesttype?searchQuery=",
"base": "https://siteName.atlassian.net",
"context": ""
},
"values": []
}
After submitting a support ticket, Atlassian confirmed it was a known issue and that a workaround exist.
When the create service request action loads, it makes two requests to Jira:
Therefore, when the first service management project doesn't have any Request types, then automation exhibits this behavior. (It could be a DEMO project or a TEST project not in use)
Hi @Fernando Eugênio da Silva , thanks for your suggestion. It's certainly a more streamlined workaround.
We'll see if someone from Atlassian confirms if there's a bug with the "Crease service request" action. I think I'll create a support ticket as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can do this with Jira automations, you just need to use an additional resource to get what you want. Your automation rule needs to be like this:
Note that the Request Type needs to be mapped to the Issue Type you are defining, otherwise your rule will not succeed.
See the example:
Hope this helps :)
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.