Forum Discussion

tanulbhasin's avatar
tanulbhasin
Brass Contributor
Jan 05, 2023

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 with Rally and github. But any chance with jira and azure devops.

 

Any suggestions please?

 

Thank you.

  • Damiakin's avatar
    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's avatar
      tanulbhasin
      Brass 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.
  • Hi,

    This is very possible by syncing the ADO workItems with Jira stories and then block the PR based on the workItem status (that in turn will be directly controlled by the Jira story status). You can do this and a lot more using a synchronization solution like Exalate.

    Thanks
    Dhiren

Resources