Change reporter on creation

I'm setting up a JIRA Service Desk with Project Automation add-on. I would like to create a rule that will change the Reporter/Creator of a request when it is created.

For example, we have some external notifications that originate alerts from do-not-reply addresses. I want to change those reports to an agent account when the issue is created to avoid the ping-pong messages from the do-not-reply addresses responding that they do not accept messages.

1 answer

1 accepted

This widget could not be displayed.
Andreas Knecht Community Champion Mar 09, 2017

Hi Josh,

You should be able to do this with a compare condition and the edit issue action fairly easily.

Here's an example rule:

Project automation - Code Barrel JIRA 2017-03-10 13-25-52.png

So when a service desk issue is created, we check if the current reporter's email address matches the .*no-reply.* regular expression.

If that's the case, then we edit the reporter and set them to the user with username 'admin' in the example above.

We haven't added the reporter field to the simple form above yet, so for now you need this advanced block:

{
    "fields": {
        "reporter": {"name":"admin"}
    }
}

Substitute 'admin' with the username of the user you'd like to set as the agent.

Cheers,

  Andreas

That worked perfectly. Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

509 views 3 18
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