Forum Discussion
tanulbhasin
Jan 05, 2023Brass Contributor
Validate jira user story status before approving pull request?
Hello, Is there anything available to integrate jira with azure devops which can specifically block the merging in master if user story in jira is not accepted yet. I know that this possible ...
Damiakin
Copper Contributor
tanulbhasin Hi.
Unfortunately, I am not an Azure DevOps admin, which is why let me ask you if this can be achieved with ADO work item (...block the merging in master if user story in ADO is not accepted yet...)?
I am asking this because there are apps, for example, TFS4JIRA that can sync JIRA to ADO. Maybe that is the way to approach this.
Best regards
Damian Kilkowski
Appfire.
tanulbhasin
Jan 09, 2023Brass Contributor
Hello,
What I'm planning is to run a task written in yaml file on every PR merged to master. That task will check if the user story is set to accepted or not.
What I'm planning is to run a task written in yaml file on every PR merged to master. That task will check if the user story is set to accepted or not.
- DamiakinJan 09, 2023Copper ContributorHi, check where in JIRA?
- tanulbhasinJan 09, 2023Brass ContributorThrough this rest api call
https://stackoverflow.com/questions/25667911/how-can-i-find-the-status-of-a-jira-issue-via-the-rest-api