Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This question was asked on http://answers.atlassian.com and reproduced here. A build plan can have 0 or more associated repositories. This provides the answer for the normal case of a single source repository. There is no formal remote API for retrieving it, so, we have to resort to using the UI. This works against 4.2 to 5.0 (at least).

Example

This uses the standard renderRequest action together with findReplaceRegex parameter to parse the response data looking for the first repositoryId field. Blank is returned if no repositories are specified.

...