async initialize()

in src/app/agile-board-widget.js [100:122]


  async initialize(configWrapper) {
    this.setState({isLoading: true});

    await configWrapper.init();

    const youTrackService = await this.getYouTrack(
      configWrapper.getFieldValue('youTrack')
    );
    if (youTrackService && youTrackService.id) {
      this.setYouTrack(youTrackService);
      const agileId = configWrapper.getFieldValue('agileId');
      if (agileId) {
        await this.specifyAgile(
          agileId,
          configWrapper.getFieldValue('sprintId'),
          configWrapper.getFieldValue('currentSprintMode')
        );
      } else {
        this.setState({isConfiguring: true});
      }
    }
    this.setState({isLoading: false});
  }