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

extend runchart api to accept issue ids

0 Kudos

extend runchart api to accept issue ids

Status quo:

- a chart can only be defined to use a named query 

- this query can be overruled during the call of "runchart" using either the "--query=..." or "--queryDefinition=.." parameter

 

Problem:

At least for trend charts (chart type = "field value trend") 95% of the use cases require a single item ID whose field value trend shall be plotted. Currently this requires either a lot of IMHO meaningless named queries or a workaround, using something like 

im runchart -g --queryDefinition=(field[ID]=12345678)) myTrendChart

  

Idea:

extend the runchart api to have an additional, optional  "--issues=...." parameter. 

im runchart -g --issues=12345678 myTrendChart

 If the issues parameter is set, it overrules all other query related settings.