Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to access the script file using java plugin

Hi,


I am trying to fetch the Script Based Calculated Value using server api in th plugin but not getting the references. Can any one having any idea how to access the script file in plugin which is applied to work item attributes.

Please provide reference link to access it.

Thanks .

0 votes



2 answers

Permanent link

What exactly are you trying to do? In general, the server operational behavior API does operate on e.g. work item data such as attributes. It goes not operate on the scripts or their results. Those have run before the operational behavior is even started.

0 votes

Comments

Hi Ralph,


I have configured some Calculated value set (script) and applied to attributes. In this script I have added some data which are filled in the work item attributes. Those data are I want to access in plugin. 
As I already provided the data in script file. So I want to collect the 2 or more script data using java plugin and need to combine the required data in plugin and perform the operation in work item.

For all I know operational behavior don't have access to that data.

That approach sounds wrong to me.


Permanent link

 Hi Anurag,


Why don't you write the script login in plugin again (so that you will have the same result) and you can save the value back in the attribute.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948

Question asked: Jan 17 '17, 2:03 a.m.

Question was seen: 2,017 times

Last updated: Jan 17 '17, 12:47 p.m.

Confirmation Cancel Confirm