EducationPerfect / azure-jira-update

Update Jira with Azure Deployment Information
MIT License
21 stars 17 forks source link

Feature: Retrieve JiraIDs from custom field in linked Work Items #3

Open b-twis opened 3 years ago

b-twis commented 3 years ago

First up. This is a life saver, and would be well worth publishing on the Devops Marketplace.

We use a sync tool which adds the Jira ID into a custom field on the Work Item, and then we reference the work item on a Pull Request so it is included as a linked item on the build/release.

It would be amazing if this plugin could optionally take the Jira ID from this field instead of only scanning the ChangeSet messages.

Is this something that you would be interested in adding? If not I might take a stab at it.

b-twis commented 3 years ago

I found an alternative which is very similar to the current solution.

As part of the Sync we also add the JiraID to the DevOps WorkItem title.

So now I can inspect the Linked WorkItems (same approach as you inspect the changeset) and Regex out the Jira from the beginning of the title.

I am happy to make a fork and PR if you would like to include the ability.

mwheeler-ep commented 2 years ago

If we can make both approaches work then we might be able to incorporate it. Not sure how we would go about testing it but we could give it a go :)