Forums

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

how to get all project id's associated to a particular screen using sql / groovy ?

Jonnada Kiran
Contributor
June 5, 2018

Hello All,

 

how to get all project id's associated to a particular screen using sql / groovy ?

 

Thanks,

Kiran

2 answers

1 vote
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.
June 6, 2018

There is no easy answer for this, because there are two ways a project might be using a screen.

The first one is complex, but can be queried with a bit of work.  The relationship is Project -> Issue type screen scheme -> screen scheme -> screen

The second one is harder to query.  The relationship is Project -> workflow scheme -> workflow -> transition screen.  Problem for SQL is that you will need to parse the workflow xml to find each screen that might be in use.

Because of this complexity, I doubt it's actually that useful to you.  Could you explain why you are asking, rather than "how to do it"?  What are you trying to achieve?

0 votes
Tarun Sapra
Community Champion
June 6, 2018

Hello @Jonnada Kiran

What do you mean by "associated to a particular screen", could you please elaborate a bit more.

Suggest an answer

Log in or Sign up to answer