Automating the change of issue type

Hi all, I would like to know how to automate the change of an issue type.

Regards.

1 answer

0 votes
Jack Brickey Community Champion Jan 23, 2018

@Guillermo Rosas, we are going to need more info here. Please explain the use case. Under what conditions do you want to change the issue type. For example...

I want to automatically change the issue type from Bug to Improvement when Component is New Feature.

Hi @Jack Brickey

Thanks for your response, In that case, when there is an specific request participant.

To explain better I will give some features how do I use servicedesk:

Most of our customers creates a case through email channel, and there are 2 big types: 1. technical support for customers (support) as a default issue and 2. Selling information for potential customers (selling), each one follows a diferent workflow (so a different issue type).

Also I set a different email channel for each case: support@company.com for support (main) and information@company.com for selling (alias).

So, when a potential customer sends an email to information@company.com requesting information for our products, servicedesk creates the case keeping the alias (information@company.com) as a request participant.

To separate those selling cases and prevent them from mixing with technical support cases, I made an automation rule that changes the "customer request type" if the case have info@company.com as a request participant and it is separated in the respective queue, but the issue type is not changed, it keeps only in "support" then our sells staf has to change manually the issue type (but it is not practical because they have to change more than 100 cases each day)

So I would like to create an automation rule to change the issue type if there is "information@company.com" on request participant.

Regards

Jack Brickey Community Champion Jan 23, 2018

I'm still not quite sure I understand. Do you have a single project or two projects (support, selling)? If not why not is sure seems that they should be different projects. If a single project how do you have two emails feeding it? Maybe this is server and server allows that but didn't think so.

It is only one project, I set two emails and create a rule to separate each type, that is explained in this question: 

https://community.atlassian.com/t5/Jira-Service-Desk-questions/Configure-more-than-one-email-channels-in-a-project/qaq-p/690096#M9952

My doubt is if it is possible to create an automation rule to change the issue type if there are some conditions, f.e. an specific request participant.

Jack Brickey Community Champion Jan 23, 2018

ah yes I recall that discussion. To be honest I think that method might lead to more issues down the road but that isn't based on anything more than a feeling so fell free to toss that comment aside. :-)

you can most certainly change the issue type based upon various conditions. it may require a plugin though.  Unsure if this is one of those situations or not.

Can you take a screenshot of your current automation so I can have a look and offer my thoughts?

Jack Brickey Community Champion Jan 23, 2018

BTW....I really think you should consider two different projects. it would make things much cleaner. Mixing Support issues with Sales issues is unconventional. Again...just an opinion.

The desire to change an issue type is usually indicative of a broken process.  It should really be reserved for genuine "clicked the wrong one" or "I completely misunderstood the type names" cases, and hence something you would normally do manually.

Two projects is a good solution.

@Nic Brough [Adaptavist] On Jira Server with Service Desk, we're ingesting emails into the service desk project.  They come in via the email channel and are assigned an issuetype - I don't see a way to have multiple choices there.  We have a certain type of email that arrives from an alert system - let's call it failed orders, that needs to be escalated to a scrum team (in their project).  We have a workflow that does all the right things (with the help of scriptrunner - create a linked issue in a new project and set the proper assignee), but we need to get that ingested email/issue over to the right issuetype to follow that workflow.  

 

Currently, our service desk agents are moving the issuetype manually, and it seems like this should be something we automate.  Any thoughts on how to improve this process if we can't do it in a relatively simple way with a post-function?

Check the automation rules, they let you do some changes to issue type.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 13, 2018 in Jira Service Desk

Jira Service Desk – Don’t be afraid, the journey begins with curiosity!

...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...

18,610 views 13 31
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you