![]() The first action that you want to automate in this project is to clear the value of the Phase field when the team decides to postpone a task and move it to the product backlog. You add scripts to your workflow in modules that can contain different types of rules or custom scripts. ![]() You now have a container where you can store your scripts. So that was simple enough, but you're just getting started. įor this guide, use phase-management as the name and Phase Management as the title. The workflow name follows the standard naming conventions for npm packages. In the New Workflow dialog, enter a name and an optional title. To create a workflow:įrom the Administration menu, select Workflows. You want to set the values for this field automatically, so your project team doesn't have to worry about setting the value themselves. Now you need to create a workflow that sets the values for this field based on other changes that are applied to the issues in the project. Basically, your boss just needs to see how many issues you still have in development or testing to measure your progress against the roadmap. You created a field with the name Phase and added the values Development, Testing, and Ready. You've just added a field to your project that you want to use to group issues so you can report your progress to your boss. ![]() You build workflows to enforce specific business logic, so it's a good idea to sit down and map out your use case before you start.įor this guide, put yourself in the shoes of a project manager. You can use a workflow to collect a set of rules that you want to apply in your project. The controls for creating workflows are available on the Workflows page, which is accessible from the Administration menu. Users who have been granted the Update Project permission can create their own workflows and attach them to their projects. You can build workflows using the constructor without any programming knowledge.īefore you start, make sure you have permission to create and edit workflows. ![]() If you are not familiar with JavaScript, give the Workflow Constructor a try instead. If you have never worked with workflows in YouTrack, start with the workflow reference for more background information. If you want to skip the warm-up, you can dive right into the API. Var entities = workflow = notify = require('./notify') Įle = Quick Start Guide explains the basic concepts you need to start working with workflows in JavaScript. Var entities = ( has: Reviewer',ĭefines legal transitions between values for the State field, with reminders and restrictions for specific states. TitleĪdds a user to the list of watchers when the user is set as the reviewer. You’re welcome to copy, modify, and use them to support your own use cases. You’ll find the code for all the sample scripts below. We presented several workflow scripts during the webinar to illustrate different types of rules. We plan to use this channel to exchange knowledge about new workflows in YouTrack. One more thing, we’ve set up a brand new YouTrack Workflow Community in Slack. If you missed the webinar for any reason, you are welcome to watch it now! We also covered key changes to the workflow API and explained how to use webhooks to build your own integrations. We explored the new editor, demonstrated how to work with various types of rules and scripts, and shared real-life use cases. Working with the built-in workflow editor.In this webinar, we introduced you to two major changes for workflows in YouTrack: ![]() The recording of the webinar is now available on our JetBrains YouTube Channel. Thanks to everyone who joined our live webinar to discover more about JavaScript workflows in YouTrack 2017.3. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |