Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20803

Export AnyTask as YAML Specs

    XMLWordPrintable

Details

    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      AnyTask is not supported by Bamboo YAML Specs according to the documentation below:
      https://docs.atlassian.com/bamboo-specs-docs/6.9.0/specs.html?yaml#configuring-unsupported-tasks

      Suggested Solution

      Add AnyTask to YAML Bamboo Specs.

      Workaround

      Currently is only possible to create AnyTask by using Java Specs, such as:

      Map<String, String> configuration = new MapBuilder<String, String>()
          .put("existingRequirement", "isLinux")
          .put("regexMatchValue", "true")
          .put("requirementKey", "")
          .put("requirementMatchType", "match")
          .put("requirementMatchValue", "")
          .build();
      AnyTask anyTask = new AnyTask(new AtlassianModule("com.atlassian.bamboo.plugin.requirementtask:task.requirements"))
          .configuration(configuration);
      

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              kmiranda Karel Miranda
              Votes:
              32 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: