Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Reporter from trigger issue by create with Automation for JIRA

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2018

We use Automation for JIRA en JIRA Software 7.1.4.

We made a rule that when u user create a Epic and the issue matches a JQL there is Create a new Story.
We want that the reporter of the story is the same user as the creator of the Epic.

How to do this?

2 answers

1 accepted

1 vote
Answer accepted
Nick Menere
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2018

Hey Marco,

 

You should be able to sue the following value in the Reporter field (and make sure this field is on the Create screen for the story).

{{issue.creator}}

 

Can you let us know if the works?

 

Cheers,

Nick Menere [Code Barrel]

Automation for Jira

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2018

Hey Nick,

On a test environment I change the reporter field to "Copy from issue" and the reporter of the automatic created issue is the same as the reporter of the trigger issue.

But on the environment of my customer it does not work.
"Copy from issue" or "Copy from trigger issue" both doesn't work.

In additional fields 
{
"fields": {
"Reporter": "issue.creator" 
}
}
is also not working.

My customer works with JIRA 7.1.4. 
Could this be a or the cause?

Cheers
Marco

(I've this also communicate with Andreas in issue CBS-5390)

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2018

I've found the problem.
The users didn't have the permission to modify the reporter when creating or editing an issue.

Sorry!

Nick Menere
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2018

Great to hear that you solved it!

0 votes
Stefan Krooshof
Contributor
December 2, 2019

Hi, 

You can use smart value {{issue.reporter}} to set the value of the reporter field: 

Screen Shot 2019-12-02 at 14.25.35.png

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Apps & Integrations Events