On this page



Use case

Sort issues created by email automatically



Function

<link to function being used>

Type

post function

Use case descriptionSort issues created by email automatically.
Complexity




Basic 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.


Related examples