Post

2 followers Follow
0
Avatar

Question: How to install the XL Release Rally plugin?

I am trying to integrate XL Release with Rally and also can see a plug in is available, but unable to use it for the XL Release deployed on Linux. Any documentation on how to configure or use, will be great to start with. The current documentation provides no information on how-to.

Kali Pati Answered

Please sign in to leave a comment.

4 comments

1
Avatar

Hi there Kali,

First and foremost this looks to be a very new addition to the community plugin library (which is why it's functionality and documentation are limited right now). However I am looking at this as we speak* and one thing I noted was you need to have the Rally REST Api libraries installed in XL Release. (https://github.com/RallyTools/RallyRestToolkitForJava/releases/download/v2.1.1/rally-rest-api-2.1.1.jar) I downloaded that release and put in my lib directory.

What is it you are wanting to do with your integration? A brief explanation of your use cases would be very helpful - As I am looking at it right now I can see a number of potential use-cases (e.g. creating a defect, updating stories/tasks etc). Currently the plugin supports just an UpdateStatus action but feel free to add more!

As with most integration plugins the standard steps are:

  1. Create a Rally Configuration Item (CI) in our configuration page. This will hold the connection details
  2. Create your task (You can ignore the connection details in the task properties (unless you want to override your CI). OAuth looking at the code is also optional. Properties to be updated appear to be in the format {"property1Name":"Property1Value"} looking at the source.

Hope this helps, get back to me with your use-cases and I will see if there are overlaps in what we're trying to achieve.

*Please also note Community Plugins are not formally supported by XebiaLabs and are offered AS-IS, though many in the community will do their best to help out.

Rob Vanstone 1 vote
0
Avatar

Hi Rob,

Thank you for responding. Your answer is really making sense.
On XLR, we are doing releases for Packages where the packages contain various Artifacts like user stories or defects from Rally.

So the first use case here is to create a XLR task to fetch the Artifact details from Rally with respect to the package name. These package names are configured in Rally for each artifact.

I could configure Rally connection details on XLR and create a Rally update task for a release. I have passed the artifact formatted ID and properties for the task. But I am getting the following exception.

"Exception during execution: java.lang.IndexOutOfBoundsException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 in <script> at line number 71".

I myself will be investigating more on this. Please let me know if you can help on this or if I am missing something.

Kali Pati 0 votes
0
Avatar

Hi Kali,

I updated the plugin today with some more documentation in the README which should help. Typically I see this error by not having configured the task items, the new info should help on that front. The updateProperties task will allow you to modify the Rally tasks/stories, some more work will be required to query Rally. You can actually quickly (tactically) engineer this by making use of the webhook task (or the script task which allows you to write Jython code). Longer term you can extend the plugin (which if you unzip it should be a very straight forward exercise).

Rob Vanstone 0 votes
0
Avatar

Hi Rob,
With the help of your documentation, I am able to do the first integration with Rally to update an user story. Right now, I am trying to query rally to fetch Artifact details for a package.

Thanks a lot for your help and support. I will be waiting to see if the plug-in can be updated for the new use case.

Kali Pati 0 votes