Skip to main content
1-Visitor
April 13, 2015
Solved

Can Project level parameters values be updated either through the java dll or command line inteface

  • April 13, 2015
  • 1 reply
  • 10105 views

Can Project level parameters values be updated either through the java dll or command line inteface

    Best answer by awalsh

    Thanks for the screenshot; that makes the question a lot clearer.

    You can edit the parameter values field using the "im editissue" command, but unfortunately, you have to provide the entire field contents for any updates.

    So using your screenshot above as an example, if you were to update the value for a parameter named a_FV, you would also need to include the definitions and values for all the other parameters. Like so:

    im editissue --field="parameter values"="a_STD_TIME_TOL_sec;description=Product

    a_STD_TIME_TOL_sec;locked=true

    a_STD_TIME_TOL_sec=2

    p_TIME_16_HO_REL_LOW_sec;description=Product 16

    p_TIME_16_HO_REL_LOW_sec;locked=true

    p_TIME_16_HO_REL_LOW_sece=3.5

    p_TIME_BC_BAIL_HO_LOW_MEAN_HIGH_sec;Product BC.

    p_TIME_BC_BAIL_HO_LOW_MEAN_HIGH_sec;locked=true

    p_TIME_BC_BAIL_HO_LOW_MEAN_HIGH_sec=0

    a_Independednt_Relay_Type;description=Application

    a_Independednt_Relay_Type;locked=true

    a_Independednt_Relay_Type=1

    p_TIME_16_DBI_HO_LOW_MEAN_sec;description=Product 16

    p_TIME_16_DBI_HO_LOW_MEAN_sec;locked=true

    p_TIME_16_DBI_HO_LOW_MEAN_sec=6

    p_TIME_16_DBI_HO_LOW_MEAN_LOW_sec;description=Product 16

    p_TIME_16_DBI_HO_LOW_MEAN_LOW_sec;locked=true

    p_TIME_16_DBI_HO_LOW_MEAN_LOW_sec=2

    p_TIME_16_DBI_EMERG_LOW_MEAN_sec;description=Product 16

    p_TIME_16_DBI_EMERG_LOW_MEAN_sec;locked=true

    p_TIME_16_DBI_EMERG_LOW_MEAN_sec=6

    a_IN_OUT_Assert;description=IO

    a_IN_OUT_Assert;locked=true

    a_IN_OUT_Assert=ON"

    a_FV;description=String Parameter

    a_FV;locked=true

    a_FV=new_value" 478424

    You can get the current value of the fields by running "im issues --fields=parameters,"parameter values" [Item ID].

    1 reply

    5-Regular Member
    April 14, 2015

    If you are referring to updating a Workflows and Documents project, then you can edit the project definition by using the "im editproject" command, or edit the project item by using the "im editissue" command. "im editproject" would be used to change information such as description, permitted groups and administrators. "im editissue" can be used to edit any field in the linked project item, assuming you have the correct permissions and the fields are editable. You can find more information on either command in the man pages. See KCS 154554 for more details on accessing man pages and command line usage information.

    rteifke1-VisitorAuthor
    1-Visitor
    April 14, 2015

    I am referring to the parameters defined here:

    IntegrityParameters.jpg

    I do not have documentation for "im editproject" and I used the command line which stated the server has been locked down since 2012? Should I be able to use ineditissue for updating these? if so can you provide and example if my parameter was a string named "a_FV"

    1-Visitor
    April 14, 2015

    There is a field called "Parameter Values". You might check that out.