# Pull Request URL env var

**URL:** <https://discuss.bitrise.io/t/pull-request-url-env-var/3713>\
**Category:** Released\
**Tags:** git\
**Created:** [January 11, 2018, 3:45pm UTC](https://discuss.bitrise.io/t/pull-request-url-env-var/3713 "2018-01-11T15:45:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernat](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@bernat](https://discuss.bitrise.io/u/bernat)\
**Post date:** [January 11, 2018, 3:45pm UTC](https://discuss.bitrise.io/t/pull-request-url-env-var/3713/1 "2018-01-11T15:45:30Z")

</div>

## Description of the feature request

## Use case / for what or how I would use it

Add PullRequest URL in format that can be opened directly

I want to display the Pull request URL on slack message when building finishes, so other developers can visit the PR, and approve/merge it, etc…

Nowadays, Bitrise shows the URL in the build config:  
 ![35](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/8/8fded37ac6f007b60ff1e1dffa8ff5d0abcfc5b8.png)

But, there’s no **envvar** for this, I needed to build it from the **BITRISE\_PULL\_REQUEST** var (id)

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [January 12, 2018, 1:49pm UTC](https://discuss.bitrise.io/t/pull-request-url-env-var/3713/2 "2018-01-12T13:49:18Z")

</div>

Great idea, thanks for the #feature-request @bernat_borras! 🙂
