Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change the reporter from Automation for Jira to a user by an automation

Elif Alverson
Contributor
April 20, 2023

Hello,

I have this automation below which creates subtask based on the field location status . It works fine however I would like to add another step/s to change the reporter of a sub task from "Automation for Jira" to assignee of the parent ticket. How can I accomplish that? Is it even possible? Thank you.

Screenshot 2023-04-20 at 12.23.03 PM.pngScreenshot 2023-04-20 at 12.23.07 PM.pngScreenshot 2023-04-20 at 12.23.11 PM.pngScreenshot 2023-04-20 at 12.23.17 PM.pngScreenshot 2023-04-20 at 12.23.31 PM.png

1 answer

0 votes
Mikael Sandberg
Community Champion
June 6, 2018

Hi Mehdi,

And welcome to the Atlassian Community.

So, if I understand your issue correctly, you are seeing a reference to the repository as part of the commit comment correct? Something like this:

Merge branch 'source_branch' of ssh://bitbucket_URL/7999/project/repository.git into target_branch

If that is the case, then that is not a reference to a related pull request, it is just telling you that there was a merge done between two branches located in the specified repository. I see that too in my repositories, but only on a few branches. 

The Bitbucket - Jira integration is looking for the Jira key. You link an issue to code changes by either mentioning the Jira key as part of your commit comment, in the pull request or in the branch name.

Mikael Sandberg
Community Champion
June 6, 2018

I took a look at the branches that I see this on in our repositories, and it looks to be related to how those branches where created. I only see the reference to the repository on branches that was created in Sourcetree/terminal instead of within Bitbucket/Jira.

Mehdi Nazari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2018

Thanks Mikael,

I think this explains how those commit messages are formatted.

Suggest an answer

Log in or Sign up to answer