# gitlabMergeRequestId, gitlabMergeRequestIid missing with plugin push from gitlab

**URL:** <https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529>\
**Category:** Ask a question\
**Tags:** git\
**Created:** [May 23, 2022, 9:11pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529 "2022-05-23T21:11:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![uchinago](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/uchinago/32/1562_2.png) [@uchinago](https://community.jenkins.io/u/uchinago)\
**Post date:** [May 23, 2022, 9:11pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529/1 "2022-05-23T21:11:54Z")

</div>

We have the gitlab plugin for Jenkins installed. and based on the documentation, I should see specific fields populated as part of the environmnet.  
I get some but not all, example of ones I have  
${env.gitlabTargetBranch} and ${env.gitlabActionType}"  
but do not have  
${env.gitlabMergeRequestTitle} , ${env.gitlabMergeRequestId} or ${env.gitlabMergeRequestIid}

So was wondering how I could get these values populated form the push.

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [May 23, 2022, 9:52pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529/2 "2022-05-23T21:52:00Z")

</div>

Is it a multibranch pipeline? Is the source for that pipeline gitlab not git?

---

<div class="post-metadata">

**Author:** ![uchinago](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/uchinago/32/1562_2.png) [@uchinago](https://community.jenkins.io/u/uchinago)\
**Post date:** [May 24, 2022, 2:25pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529/3 "2022-05-24T14:25:04Z")

</div>

I believe being a newby, it is not a multibranch pipeline.  
This is gitlab integration not git… does that make a difference?

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [May 24, 2022, 8:28pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529/4 "2022-05-24T20:28:22Z")

</div>

In general yes.

Git integration/source just gives you the most basic git behavior, probably the ref and maybe branch name.  
SCM Specific ones (ex gitlab) will give you all the advanced features, like access control, or smaller checkouts, or whathaveyou.

Similarly, Pipeline gives you basic pipeline, trigger pipeline, do work, finish work. etc  
Multibranch pipeline knows about branching and apis and stuff, and generally can be configured to have one job per branch, and then dedicated jobs for PRs. All automaticlaly based on your main branch’s jenkinsfile.

I don’t know for certain that the merge / pull request info isn’t in a basic pipeline, but should be in a multibranch pipeline (I use github, so not 100% about gitlab).

---

<div class="post-metadata">

**Author:** ![uchinago](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/uchinago/32/1562_2.png) [@uchinago](https://community.jenkins.io/u/uchinago)\
**Post date:** [May 25, 2022, 1:07pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529/5 "2022-05-25T13:07:49Z")

</div>

Thanks. Let me try to configure this as a multibranch and see if that information is there.  
more learning to do.
