Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Querying dbo.jiraworkflows in MS SQL Server

Ben Robbins
Contributor
November 28, 2018

Short question: Is it possible to query the xml string held in the DESCRIPTOR field on the dbo.jiraworkflows table?

Background
We're trying to audit user group conditions we have set on certain transitions in workflows.

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2018

You can, but it's raw XML so you'll have to parse it after extracting it.

Ben Robbins
Contributor
November 13, 2019

Forgot about this post....

Can you give any advice on parsing this in SQL Server?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2019

SQL Server does not have xml parsing functions that I know of.  It's a database, not an XML editor!

I'd copy the xml and open it in something that is good at reading XML

Ben Robbins
Contributor
November 18, 2019

Yes, I was afraid you were going to say that. We were hoping to build an SSRS report on a query that extracted conditions from workflows but doesn't seem like that's going to be possible.

Suggest an answer

Log in or Sign up to answer