Forums

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

Restricting a story under story in Structure Plug-in

Yuvi February 12, 2019

Hi,

We are currently using Structure Plug-in and also using Structure child link and structure parent link (custom links) to link different issue types(We have 5 different issue types). I have a requirement where we cannot have an story linked to another story as a parent or child in structure. But I want a story to be linked to all other issue types. Is there a way that we can restrict a story  not linked to another story in structure?

 

Thanks in Advance.

1 answer

0 votes
Egor Tasa [ALM Works]
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.
February 12, 2019

Hi Yuvi,

Thank you for your question. At the moment, Structure cannot restrict linking by any criteria but the position within a structure - but that would mean that any link at specified level would be impossible.

There is at least one limited alternative solution, though. For example, you can set a formula column in structure to highlight any links between story and story. Formula would look something like:

IF(issuetype="Story" and PARENT{issuetype="Story"}, "INCORRECT LINK")

This will display "INCORRECT LINK" in a cell, when there is a story parent of a story in a structure. You can even use wiki markup to highlight this in red.

IF(issuetype="Story" and PARENT{issuetype="Story"}, "{panel:bgColor=red}INCORRECT LINK{panel}")

This would let you know that there was wrong link created and it can be subsequently eliminated. But it is not a preventive solution.

Further alternatives are outside Structure, and are even more limited, mostly they require scriptable validations, disabling manual linking etc. At least, I cannot think of any straightforward solution.

Regards,
Egor Tasa

ALM Works Support

Suggest an answer

Log in or Sign up to answer