You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -387,7 +390,7 @@ To declare this in the metadata, ensure the status is represented in the extract
387
390
"completed": {
388
391
"name": "Completed",
389
392
"is_end_state": true
390
-
},
393
+
}
391
394
}
392
395
}
393
396
}
@@ -398,7 +401,7 @@ It is possible that the status field has no explicit transitions defined but one
398
401
The external system might have a way to categorize statuses (such as status categories in Jira). These can also be included in the diagram metadata (`states` in the example above) which will create them in DevRev and they can be referenced by the stages. This is entirely optional and in case the `states` field is not provided, default DevRev states will be used, those being `open`, `in_progress` and `closed`. If there is a way, the developer can categorize the stages to one of these three, or leave it up to the end user.
399
402
The `starting_stage` field defines the starting stage of the diagram, in which all new instances of the object will be created. This data should always be provided if available, otherwise the starting stage will be selected alphabetically.
400
403
401
-
In the current (v0.2.0) metadata format, it is no longer neccessary to assign ordinal and stage_name to stages, the order and the human-readable name will be taken from the enum values defined on the controlling field.
404
+
In the current (v0.2.0) metadata format, it is no longer neccessary to assign ordinal and stage_name to stages, the order and the human-readable name will be taken from the enum values defined on the controlling field.
402
405
403
406
## Normalize data
404
407
@@ -459,11 +462,13 @@ Obtain a PAT-token from the Settings/Account tab of the devorg where you deploy
459
462
460
463
To allow the cli to work in the context of that sync, you have to provide its identifying properties in an environment variable.
461
464
The recommended method is to run:
465
+
462
466
```bash
463
467
chef-cli ctx switch --env prod
464
468
```
465
469
466
470
This will print the list of airdrop imports in the org. Select the one you like by running
471
+
467
472
```bash
468
473
$ eval$(chef-cli ctx switch --env --prod --id <the id you choose>); chef-cli ctx show
469
474
```
@@ -499,7 +504,7 @@ where the options are:
499
504
The first function of the local UI is to assemble a 'blueprint' for concrete import running in the test-org, allowing the mapping to be tested out and evaluated.
500
505
After it is used for the import, the mappings become immutable, but the chef-cli UI offers a button to make a draft clone, which can be edited again for refinements.
501
506
502
-
If you are also creating devrev -> external sync, use
507
+
If you are also creating devrev -> external sync, use
503
508
504
509
`$ chef-cli configure-mappings --env prod --reverse`, which enabled mapping in both directions.
0 commit comments