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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

73 views 0 5
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