It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to access Owner of Pull Requests email address within pipelines.yml?

Hi,

 

I need to access the email address of the owner of a Pull Request in bitbucket pipelines. Is there some kind of variable to allow me to do this?

 

I've already scanned the docs for answers but it doesn't appear to have what I'm looking for.

https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html

 

Thanks,

Adam

1 answer

1 accepted

1 vote
Answer accepted

Hi @Adam Duffield

That is not possible. Recently we even deprecated our user management APIs due to the Atlassian GDPR Compliance

There is an improvement request suggested to create a variable for this to get commiter email, similar to what you need: 

Do you mind creating a similar improvement request to add the email information for pull requests?

To do it you need to login in the link below and click Create issue:

Please add the reasons you think we should add this new variable so we and other users can take into consideration and prioritize it accordingly.

Thanks Daniel, I will add onto the issue.

Like Daniel Santos likes this

Thank you @Adam Duffield


If you think this answer will help others, I'll kindly ask you to accept it.
See you in the next thread!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,032 views 4 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you