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

0 votes
Accepted answer
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 Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

412 views 0 3
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