How can I see if a requirement has an issue and of a specific type?
I was thinking about to use "Expert/Add field column" and something like I use to see if an attachement is added: ?/item::.Select(Attachments).Join(',')
Is there a way?
/Stefan
Best Answer
S
SystemWeaver
said
about 6 years ago
Hi Stefan,
Sure, you can do the same with issues by using for example:
?/item::/issueref::IR[Type.Name='Imp Issue']
Where
"?" tells the column to use the path language to interpret what is written
"/item::" goes to the item. There are actually nodes displayed in the tree and we need to go to the items to get to the issues
"/issueref::IR" means find all issue relations of type "IR". "IR" is the standard relation between items and issues - Item reference. If you have defined your own relations then use the SID of that type
"[Type.Name='Imp Issue']" is a filter applied to the result. This filter gives you all issues that has the type "Imp Issue".
Sure, you can do the same with issues by using for example:
?/item::/issueref::IR[Type.Name='Imp Issue']
Where
"?" tells the column to use the path language to interpret what is written
"/item::" goes to the item. There are actually nodes displayed in the tree and we need to go to the items to get to the issues
"/issueref::IR" means find all issue relations of type "IR". "IR" is the standard relation between items and issues - Item reference. If you have defined your own relations then use the SID of that type
"[Type.Name='Imp Issue']" is a filter applied to the result. This filter gives you all issues that has the type "Imp Issue".
Hope this helps.
Best regards
Martin
2 people like this
S
Stefan Edvardsson
said
about 6 years ago
This worked just fine! Thanks.
/Stefan
S
Stefan Edvardsson
said
about 6 years ago
Is there a way to select the iteration of the issue that is referenced from an Item (design requirement? I've tried with this but it didn't work:
Stefan Edvardsson
How can I see if a requirement has an issue and of a specific type?
I was thinking about to use "Expert/Add field column" and something like I use to see if an attachement is added: ?/item::.Select(Attachments).Join(',')
Is there a way?
/Stefan
Hi Stefan,
Sure, you can do the same with issues by using for example:
?/item::/issueref::IR[Type.Name='Imp Issue']
Where
"?" tells the column to use the path language to interpret what is written
"/item::" goes to the item. There are actually nodes displayed in the tree and we need to go to the items to get to the issues
"/issueref::IR" means find all issue relations of type "IR". "IR" is the standard relation between items and issues - Item reference. If you have defined your own relations then use the SID of that type
"[Type.Name='Imp Issue']" is a filter applied to the result. This filter gives you all issues that has the type "Imp Issue".
Hope this helps.
Best regards
Martin
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstSystemWeaver
Hi Stefan,
Sure, you can do the same with issues by using for example:
?/item::/issueref::IR[Type.Name='Imp Issue']
Where
"?" tells the column to use the path language to interpret what is written
"/item::" goes to the item. There are actually nodes displayed in the tree and we need to go to the items to get to the issues
"/issueref::IR" means find all issue relations of type "IR". "IR" is the standard relation between items and issues - Item reference. If you have defined your own relations then use the SID of that type
"[Type.Name='Imp Issue']" is a filter applied to the result. This filter gives you all issues that has the type "Imp Issue".
Hope this helps.
Best regards
Martin
2 people like this
Stefan Edvardsson
This worked just fine! Thanks.
/Stefan
Stefan Edvardsson
Is there a way to select the iteration of the issue that is referenced from an Item (design requirement?
I've tried with this but it didn't work:
<TextColumn width="50" caption="Sprint" objectName="SPRINT" readOnly="true"> #{?/issueref::REQU[Iteration.Name]}</TextColumn>
Best would be to first check valid conditions #{?/issueref::REQU[Type.Name='Implementation']}
Best regards
Stefan
Bashar Nassar
Hi Stefan,
Currently the Path language does NOT support "Iteration". We have added this as a feature request, so hopefully it will come in the near future.
However, you can do that using Grid and Field Codes, as shown below.
Example:
Result:
Thanks,
Bashar
1 person likes this
Stefan Edvardsson
Nice. This solved my need perfectly!
Best regards
/Stefan
-
Comparing two versions of a structure
-
Context and path language
-
Overview of meta model
-
Importing old data
-
Cannot find multiple version items
-
Accumulated bar chart
-
Cannot remove part - is referenced
-
View of non accessable data
-
Path: How to check if an attribute is empty?
-
List and path language
See all 33 topics