You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

On this page

Use case

Jira can be perfectly used to communicate with your customers, e.g. by using Service Desks or dedicated projects.

It is also possible to create issues via email. But in this case the created issues always belong one specific project.


In the following use case, emails sent by one of our key account customers will be automatically moved to the corresponding project.

Every key account customer is part of the group key-account and every key account company has one dedicated project within Jira.



Configuration

Project*

Choose Set project manually (parser expression)

Expression*

Set it to advanced text and use the following expression:

toUpperCase(toString(findPattern(%{issue.reporter.email},"(?<=.*@)([a-zA-Z0-9_-]+(?=\\.))")))

Issue type*

Choose Retain the issue type

Status*

Choose Retain the status.

Conditional execution

Expression

set it to logical and use the following expression

isInGroup("key-account", %{issue.reporter})


After checking if the parameters match this example, you can click on add and this is how the post function should look like.

Make sure this post function is the last one on your post functions list.

otherwise, you would get this warning message

Now that you are familiar with this post function and what it does, you can configure the parameters based on your needs.



If you still have questions, feel free to refer to our support team.