I have created an Email channel adresse for our Jira SD project, so that email send to this @ are transformed into issue of that type : « Other tool problem ». But this request type correspond to an « Incident » issue type.
I tried to create automation rules to dispatch issues received by email channel to different queues, depending on keywords in the mail.
But I can’t make a rule which move the created issue to another Request Type if the Issue Type is different from « Incident ».
For example, if I receive emails containing « jira » or « confluence » keywords, I want to automatically move the created issue to the « Jira or Confluence request » type, but it doesn’t work because this Request Type correspond to a « Service Request » issue Type.
How can I manage this need ?
Manually, making a move action ?
Another way ?
Is there any existing Plugin which can do this ? Scriptrunner ?
Thanks in advance for your help.
Jira Software 8.5.5 / SEN-8369496
JIRA Service Desk 4.5.5 / SEN-17073647
Thanks for your answer.
Incident & "Service Request" have exactly the same workflow (see attached "Workflow Scheme" file), but it doesn't work with my automation rule.
See the logs of the execution in the attached file.
My email channel configuration is that any email are transformed as a Request Type which have IssueType = Incident, and in my automation rule, in the second condition, I want to move the issue to the "Jira or Confluence request" which have IssueType = "Service Request".
But the email creates an issue Incident with the default Request Type.
Any idea ?
Thanks in advance
I understand that you're using Jira Service Desk Server and want to be able to automatically change the Customer Request Type field based on some criteria of the initial request. If you're not familiar with the difference between a request and an issue, please check out Jira Service Desk: Issues vs. Requests.
In this case, the limitation here is not in regards to the workflows in place, but rather the automation here is limited in that it can only change the Customer Request Type IF the two request types share the same issue type. This limitation is noted when you setup this automation rule (see the yellow box in this screenshot).
If the customer requests have different issue types, automation in Jira Service Desk is not currently able to change the issue type, hence it then cannot set the request type (since requests are a layer built upon specific issue types). The main reason for this is that Jira does not currently have a REST API to move issues. That is essentially what has to happen in order to change the issue type here.
There have been some other users in Community that have looked upon other plugins such as scriptrunner for a solution here, such as https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Script-Runner-set-Field-quot-Customer-Request-type-quot/qaq-p/44063 However, it seems that other users have had difficulty setting up such a work-around.
Yes you could manually move the issue to a new issue type first, and then set the customer request type. That seems like a fine work-around if you don't have to repeat these steps frequently. However if you envision that this kind of move would be common, then I would suggest adjusting your multiple customer request types to use a single issue type. This way, you can then rely upon an automation rule to adjust these requests for you instead.
I hope this helps.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
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