Hi All,
Used REST APIS to create mutiple pullrequests. i.e.,
from localBranch to MASTER1 , MASTER2
localBranch------->MASTER1,MASTER2
I have two local commits , for each commit included a valid ticket number and I want to merge with to MASTER! and MASTER2 at same time.
My usecase is:
Whenever any pull request happens I need to show the pull-request creation(initiation) status to my ticket portals based on commit messag's ticket number.
My Approach :
So for this I used post-hook and created EventListeners i.e., pull-request open Event. It is working fine.
Problem I'm facing:
In localBranch I'm having lets say two commmits (comm1, comm2).
So after pull-request with command prompt, the pull-request created successfully and
It should get (used random shaid_ids for each commit in below example)
comm1 with sha-id ....7ef target is MASTER1
comm1 with sha-id ....7ef target is MASTER2
comm2 with sha-id ....a1e target is MASTER1
comm2 with sha-id ....a1e target is MASTER2
But I'm getting,
comm1 with sha-id ....7ef target is MASTER1
comm1 with sha-id ....7ef target is MASTER2
comm2 with sha-id ....a1e target is MASTER2
comm2 with sha-id ....a1e target is MASTER2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
EventListeners that is pullRequestOpened() or onPullRequestOpened(), how to handle mutiple pull requests with REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.