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

Adding List of Build Definitions to Work Item

I would like to have a dropdown list of existing build definitions in a work item so a user can select one.

How can I add this attribute (or other such lists)?

Thanks, Gary

0 votes



4 answers

Permanent link
Somebody must have a thought on this! Does it require complex JavaScript code to implement?

Gary

0 votes


Permanent link
Hi Gary,

Although Work Items supports an Item type of attribute (and also Item list), there's not currently an item picker for build definitions.
Feel free to file an enhancement request, with details about your scenario.

In the meantime, you could emulate this using an enumeration, but you'd have to configure the values yourself in the process specification.

0 votes


Permanent link
You might be able to cobble something together using the new HTTP provider support (which got backported to 3.0.1 FP1) and the OSLC Automation API (prototype).

e.g. https://jazz.net/jazz/oslc/contexts/_1w8aQEmJEduIY7C8B09Hyw/automation/plans
lists the build definitions (aka 'automation plans' in OSLC Automation parlance) for the RTC project area.

For the build definition ids, you'd need to extract the values (char data) of the dc:title elements.

I'm not sure whether the HTTP provider support works with our form-based authentication though.

0 votes


Permanent link
Nick:

Thanks much for your answers. You verified what I suspected...

I will file an enhancement request - just didn't want to do so until I was sure my hunch was correct. I would imagine that others have a requirement to list various RTC "system enumerations" as well.

Gary

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

Question asked: Nov 22 '11, 10:14 a.m.

Question was seen: 4,815 times

Last updated: Nov 22 '11, 10:14 a.m.

Confirmation Cancel Confirm