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 James 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 James 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
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

722 views 0 2
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