History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2093
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Tim Earle
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

view variable references

Created: 17/Jun/14 02:08 PM   Updated: 18/Jun/14 12:31 AM
Component/s: None
Affects Version/s: 5.1.26
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Add the ability to view the configurations, steps, and other variables which reference a specific variable. This can be exceptionally useful when understanding the impact of changing a variable's name, value, or format.

Currently the only way to do this effectively is interrogate the database backup and look for vars.getValue('VAR_NAME').

A few ways would be to inspect the audit log for this syntax for a string, or to scan the "variables" section of builds and provide a "last used" or "used in" link, which results in the list of jobs which have made use of the variable.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [18/Jun/14 12:31 AM]
Unfortunately this is almost impossible as many references exist in groovy and it is not a easy task to search for references in an interpretated language, not to mention that it will be very time consuming to search for every possible script in all configurations due to nature of QB (script can happen in every possible place including custom plugin settings).