1{ 2 "version": 1, 3 "type": "doc", 4 "content": [ 5 { 6 "type": "paragraph", 7 "content": [ 8 { 9 "type": "text", 10 "text": "This is a complex issue…and this is normal text" 11 } 12 ] 13 }, 14 { 15 "type": "paragraph", 16 "content": [] 17 }, 18 { 19 "type": "rule" 20 }, 21 { 22 "type": "paragraph", 23 "content": [ 24 { 25 "type": "text", 26 "text": "Color - Dark Gray" 27 } 28 ] 29 }, 30 { 31 "type": "paragraph", 32 "content": [ 33 { 34 "type": "text", 35 "text": "Color - " 36 }, 37 { 38 "type": "text", 39 "text": "Light Gray", 40 "marks": [ 41 { 42 "type": "textColor", 43 "attrs": { 44 "color": "#97a0af" 45 } 46 } 47 ] 48 } 49 ] 50 }, 51 { 52 "type": "paragraph", 53 "content": [ 54 { 55 "type": "text", 56 "text": "Color - " 57 }, 58 { 59 "type": "text", 60 "text": "Purple", 61 "marks": [ 62 { 63 "type": "textColor", 64 "attrs": { 65 "color": "#6554c0" 66 } 67 } 68 ] 69 } 70 ] 71 }, 72 { 73 "type": "paragraph", 74 "content": [ 75 { 76 "type": "text", 77 "text": "Color - " 78 }, 79 { 80 "type": "text", 81 "text": "Teal", 82 "marks": [ 83 { 84 "type": "textColor", 85 "attrs": { 86 "color": "#00b8d9" 87 } 88 } 89 ] 90 } 91 ] 92 }, 93 { 94 "type": "paragraph", 95 "content": [ 96 { 97 "type": "text", 98 "text": "Color - " 99 }, 100 { 101 "type": "text", 102 "text": "Green", 103 "marks": [ 104 { 105 "type": "textColor", 106 "attrs": { 107 "color": "#36b37e" 108 } 109 } 110 ] 111 } 112 ] 113 }, 114 { 115 "type": "paragraph", 116 "content": [ 117 { 118 "type": "text", 119 "text": "Color - " 120 }, 121 { 122 "type": "text", 123 "text": "Red", 124 "marks": [ 125 { 126 "type": "textColor", 127 "attrs": { 128 "color": "#ff5630" 129 } 130 } 131 ] 132 } 133 ] 134 }, 135 { 136 "type": "paragraph", 137 "content": [ 138 { 139 "type": "text", 140 "text": "Color - " 141 }, 142 { 143 "type": "text", 144 "text": "Orange", 145 "marks": [ 146 { 147 "type": "textColor", 148 "attrs": { 149 "color": "#ff991f" 150 } 151 } 152 ] 153 } 154 ] 155 }, 156 { 157 "type": "paragraph", 158 "content": [] 159 }, 160 { 161 "type": "rule" 162 }, 163 { 164 "type": "paragraph", 165 "content": [ 166 { 167 "type": "inlineCard", 168 "attrs": { 169 "url": "https://gitlab-jira.atlassian.net/browse/DEMO-1" 170 } 171 }, 172 { 173 "type": "text", 174 "text": " " 175 } 176 ] 177 }, 178 { 179 "type": "paragraph", 180 "content": [ 181 { 182 "type": "inlineCard", 183 "attrs": { 184 "data": { 185 "@context": "https://json-ld.org/contexts/person.jsonld", 186 "@id": "http://dbpedia.org/resource/John_Lennon", 187 "name": "John Lennon", 188 "born": "1940-10-09", 189 "spouse": "http://dbpedia.org/resource/Cynthia_Lennon" 190 } 191 } 192 }, 193 { 194 "type": "text", 195 "text": " " 196 } 197 ] 198 }, 199 { 200 "type": "paragraph", 201 "content": [ 202 { 203 "type": "text", 204 "text": "External Link", 205 "marks": [ 206 { 207 "type": "link", 208 "attrs": { 209 "href": "https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25718" 210 } 211 } 212 ] 213 } 214 ] 215 }, 216 { 217 "type": "paragraph", 218 "content": [] 219 }, 220 { 221 "type": "rule" 222 }, 223 { 224 "type": "paragraph", 225 "content": [] 226 }, 227 { 228 "type": "blockquote", 229 "content": [ 230 { 231 "type": "paragraph", 232 "content": [ 233 { 234 "type": "text", 235 "text": "This is a block quote" 236 } 237 ] 238 } 239 ] 240 }, 241 { 242 "type": "paragraph", 243 "content": [] 244 }, 245 { 246 "type": "panel", 247 "attrs": { 248 "panelType": "success" 249 }, 250 "content": [ 251 { 252 "type": "paragraph", 253 "content": [ 254 { 255 "type": "text", 256 "text": "Success info panel" 257 } 258 ] 259 } 260 ] 261 }, 262 { 263 "type": "panel", 264 "attrs": { 265 "panelType": "info" 266 }, 267 "content": [ 268 { 269 "type": "paragraph", 270 "content": [ 271 { 272 "type": "text", 273 "text": "Info info panel" 274 } 275 ] 276 } 277 ] 278 }, 279 { 280 "type": "panel", 281 "attrs": { 282 "panelType": "note" 283 }, 284 "content": [ 285 { 286 "type": "paragraph", 287 "content": [ 288 { 289 "type": "text", 290 "text": "Note info panel" 291 } 292 ] 293 } 294 ] 295 }, 296 { 297 "type": "panel", 298 "attrs": { 299 "panelType": "warning" 300 }, 301 "content": [ 302 { 303 "type": "paragraph", 304 "content": [ 305 { 306 "type": "text", 307 "text": "Warning info panel" 308 } 309 ] 310 } 311 ] 312 }, 313 { 314 "type": "panel", 315 "attrs": { 316 "panelType": "error" 317 }, 318 "content": [ 319 { 320 "type": "paragraph", 321 "content": [ 322 { 323 "type": "text", 324 "text": "Error info panel" 325 } 326 ] 327 } 328 ] 329 }, 330 { 331 "type": "paragraph", 332 "content": [] 333 }, 334 { 335 "type": "paragraph", 336 "content": [] 337 }, 338 { 339 "type": "rule" 340 }, 341 { 342 "type": "paragraph", 343 "content": [ 344 { 345 "type": "mention", 346 "attrs": { 347 "id": "5e32f803e127810e82875bc1", 348 "text": "jhope" 349 } 350 }, 351 { 352 "type": "text", 353 "text": " what up" 354 } 355 ] 356 }, 357 { 358 "type": "paragraph", 359 "content": [] 360 }, 361 { 362 "type": "paragraph", 363 "content": [ 364 { 365 "type": "emoji", 366 "attrs": { 367 "shortName": ":grinning:", 368 "id": "1f600", 369 "text": "\uD83D\uDE00" 370 } 371 }, 372 { 373 "type": "text", 374 "text": " " 375 }, 376 { 377 "type": "emoji", 378 "attrs": { 379 "shortName": ":rofl:", 380 "id": "1f923", 381 "text": "\uD83E\uDD23" 382 } 383 }, 384 { 385 "type": "text", 386 "text": " " 387 }, 388 { 389 "type": "emoji", 390 "attrs": { 391 "shortName": ":partying_face:", 392 "id": "1f973", 393 "text": "\uD83E\uDD73" 394 } 395 }, 396 { 397 "type": "text", 398 "text": " " 399 }, 400 { 401 "type": "emoji", 402 "attrs": { 403 "shortName": ":heart_eyes:", 404 "id": "1f60d", 405 "text": "\uD83D\uDE0D" 406 } 407 }, 408 { 409 "type": "text", 410 "text": " " 411 } 412 ] 413 }, 414 { 415 "type": "paragraph", 416 "content": [] 417 }, 418 { 419 "type": "table", 420 "attrs": { 421 "isNumberColumnEnabled": false, 422 "layout": "default" 423 }, 424 "content": [ 425 { 426 "type": "tableRow", 427 "content": [ 428 { 429 "type": "tableHeader", 430 "attrs": {}, 431 "content": [ 432 { 433 "type": "paragraph", 434 "content": [ 435 { 436 "type": "text", 437 "text": "Col 1 Row 1", 438 "marks": [ 439 { 440 "type": "strong" 441 } 442 ] 443 } 444 ] 445 } 446 ] 447 }, 448 { 449 "type": "tableHeader", 450 "attrs": {}, 451 "content": [ 452 { 453 "type": "paragraph", 454 "content": [ 455 { 456 "type": "text", 457 "text": "Col 2 Row 1", 458 "marks": [ 459 { 460 "type": "strong" 461 } 462 ] 463 } 464 ] 465 } 466 ] 467 }, 468 { 469 "type": "tableHeader", 470 "attrs": {}, 471 "content": [ 472 { 473 "type": "paragraph", 474 "content": [ 475 { 476 "type": "text", 477 "text": "Col 3 Row 1", 478 "marks": [ 479 { 480 "type": "strong" 481 } 482 ] 483 } 484 ] 485 } 486 ] 487 } 488 ] 489 }, 490 { 491 "type": "tableRow", 492 "content": [ 493 { 494 "type": "tableCell", 495 "attrs": {}, 496 "content": [ 497 { 498 "type": "paragraph", 499 "content": [ 500 { 501 "type": "text", 502 "text": "Col 1 Row 2" 503 } 504 ] 505 } 506 ] 507 }, 508 { 509 "type": "tableCell", 510 "attrs": {}, 511 "content": [ 512 { 513 "type": "paragraph", 514 "content": [ 515 { 516 "type": "text", 517 "text": "Col 2 Row 2" 518 } 519 ] 520 } 521 ] 522 }, 523 { 524 "type": "tableCell", 525 "attrs": {}, 526 "content": [ 527 { 528 "type": "paragraph", 529 "content": [ 530 { 531 "type": "text", 532 "text": "Col 3 Row 2" 533 } 534 ] 535 } 536 ] 537 } 538 ] 539 }, 540 { 541 "type": "tableRow", 542 "content": [ 543 { 544 "type": "tableCell", 545 "attrs": {}, 546 "content": [ 547 { 548 "type": "paragraph", 549 "content": [ 550 { 551 "type": "text", 552 "text": "Col 1 Row 3" 553 } 554 ] 555 } 556 ] 557 }, 558 { 559 "type": "tableCell", 560 "attrs": {}, 561 "content": [ 562 { 563 "type": "paragraph", 564 "content": [ 565 { 566 "type": "text", 567 "text": "Col 2 Row 3" 568 } 569 ] 570 } 571 ] 572 }, 573 { 574 "type": "tableCell", 575 "attrs": {}, 576 "content": [ 577 { 578 "type": "paragraph", 579 "content": [ 580 { 581 "type": "text", 582 "text": "Col 3 Row 3" 583 } 584 ] 585 } 586 ] 587 } 588 ] 589 } 590 ] 591 }, 592 { 593 "type": "heading", 594 "attrs": { 595 "level": 1 596 }, 597 "content": [ 598 { 599 "type": "text", 600 "text": "Header 1" 601 } 602 ] 603 }, 604 { 605 "type": "heading", 606 "attrs": { 607 "level": 2 608 }, 609 "content": [ 610 { 611 "type": "text", 612 "text": "Header 2" 613 } 614 ] 615 }, 616 { 617 "type": "heading", 618 "attrs": { 619 "level": 3 620 }, 621 "content": [ 622 { 623 "type": "text", 624 "text": "Header 3" 625 } 626 ] 627 }, 628 { 629 "type": "heading", 630 "attrs": { 631 "level": 4 632 }, 633 "content": [ 634 { 635 "type": "text", 636 "text": "Header 4" 637 } 638 ] 639 }, 640 { 641 "type": "heading", 642 "attrs": { 643 "level": 5 644 }, 645 "content": [ 646 { 647 "type": "text", 648 "text": "Header 5" 649 } 650 ] 651 }, 652 { 653 "type": "heading", 654 "attrs": { 655 "level": 6 656 }, 657 "content": [ 658 { 659 "type": "text", 660 "text": "Header 6" 661 } 662 ] 663 }, 664 { 665 "type": "paragraph", 666 "content": [] 667 }, 668 { 669 "type": "bulletList", 670 "content": [ 671 { 672 "type": "listItem", 673 "content": [ 674 { 675 "type": "paragraph", 676 "content": [ 677 { 678 "type": "text", 679 "text": "Bullet point list item 1" 680 } 681 ] 682 } 683 ] 684 }, 685 { 686 "type": "listItem", 687 "content": [ 688 { 689 "type": "paragraph", 690 "content": [ 691 { 692 "type": "text", 693 "text": "Bullet point list Item 2" 694 } 695 ] 696 } 697 ] 698 }, 699 { 700 "type": "listItem", 701 "content": [ 702 { 703 "type": "paragraph", 704 "content": [ 705 { 706 "type": "text", 707 "text": "Bullet point list Item 3" 708 } 709 ] 710 } 711 ] 712 } 713 ] 714 }, 715 { 716 "type": "paragraph", 717 "content": [] 718 }, 719 { 720 "type": "orderedList", 721 "content": [ 722 { 723 "type": "listItem", 724 "content": [ 725 { 726 "type": "paragraph", 727 "content": [ 728 { 729 "type": "text", 730 "text": "Number list Item 1" 731 } 732 ] 733 } 734 ] 735 }, 736 { 737 "type": "listItem", 738 "content": [ 739 { 740 "type": "paragraph", 741 "content": [ 742 { 743 "type": "text", 744 "text": "Number list item 2" 745 } 746 ] 747 } 748 ] 749 }, 750 { 751 "type": "listItem", 752 "content": [ 753 { 754 "type": "paragraph", 755 "content": [ 756 { 757 "type": "text", 758 "text": "Number list item 3" 759 } 760 ] 761 } 762 ] 763 } 764 ] 765 }, 766 { 767 "type": "paragraph", 768 "content": [] 769 }, 770 { 771 "type": "paragraph", 772 "content": [ 773 { 774 "type": "text", 775 "text": "Underline", 776 "marks": [ 777 { 778 "type": "underline" 779 } 780 ] 781 } 782 ] 783 }, 784 { 785 "type": "paragraph", 786 "content": [ 787 { 788 "type": "text", 789 "text": "Superscript", 790 "marks": [ 791 { 792 "type": "subsup", 793 "attrs": { 794 "type": "sup" 795 } 796 } 797 ] 798 } 799 ] 800 }, 801 { 802 "type": "paragraph", 803 "content": [ 804 { 805 "type": "text", 806 "text": "Subscript", 807 "marks": [ 808 { 809 "type": "subsup", 810 "attrs": { 811 "type": "sub" 812 } 813 } 814 ] 815 } 816 ] 817 }, 818 { 819 "type": "paragraph", 820 "content": [ 821 { 822 "type": "text", 823 "text": "Bold", 824 "marks": [ 825 { 826 "type": "strong" 827 } 828 ] 829 } 830 ] 831 }, 832 { 833 "type": "paragraph", 834 "content": [ 835 { 836 "type": "text", 837 "text": "Italic", 838 "marks": [ 839 { 840 "type": "em" 841 } 842 ] 843 } 844 ] 845 }, 846 { 847 "type": "paragraph", 848 "content": [ 849 { 850 "type": "text", 851 "text": "Strikethrough", 852 "marks": [ 853 { 854 "type": "strike" 855 } 856 ] 857 } 858 ] 859 }, 860 { 861 "type": "codeBlock", 862 "attrs": { 863 "language": "javascript" 864 }, 865 "content": [ 866 { 867 "type": "text", 868 "text": "export function makeIssue({ parentIssue, project, users }) {\n \n const issueType = pickRandom(project.issueTypes)\n\n let data = {\n fields: {\n summary: faker.lorem.sentence(),\n issuetype: {\n id: issueType.id\n },\n project: {\n id: project.id\n },\n reporter: {\n id: pickRandom(users)\n }\n }\n }\n\n if (issueType.subtask) {\n data = {\n parent: {\n key: parentIssue\n }\n }\n }\n\n console.log(data)\n\n return data\n}" 869 } 870 ] 871 }, 872 { 873 "type": "mediaSingle", 874 "attrs": { 875 "layout": "center" 876 }, 877 "content": [ 878 { 879 "type": "media", 880 "attrs": { 881 "id": "79411c6b-50e0-477f-b4ed-ac3a5887750c", 882 "type": "file", 883 "collection": "jira-10050-field-description", 884 "width": 400, 885 "height": 400 886 } 887 } 888 ] 889 }, 890 { 891 "type": "paragraph", 892 "content": [] 893 }, 894 { 895 "type": "mediaSingle", 896 "attrs": { 897 "layout": "center" 898 }, 899 "content": [ 900 { 901 "type": "media", 902 "attrs": { 903 "id": "6a5b48c6-70bd-4747-9ac8-a9abc9adb1f4", 904 "type": "file", 905 "collection": "jira-10050-field-description", 906 "width": 1280, 907 "height": 789 908 } 909 } 910 ] 911 }, 912 { 913 "type": "mediaSingle", 914 "attrs": { 915 "layout": "center" 916 }, 917 "content": [ 918 { 919 "type": "media", 920 "attrs": { 921 "id": "e818a88d-9185-4a7f-8882-18339a0f0966", 922 "type": "file", 923 "collection": "jira-10050-field-description", 924 "width": 1280, 925 "height": 598 926 } 927 } 928 ] 929 }, 930 { 931 "type": "paragraph", 932 "content": [] 933 }, 934 { 935 "type": "paragraph", 936 "content": [] 937 }, 938 { 939 "type": "paragraph", 940 "content": [ 941 { 942 "type": "text", 943 "text": "blob:" 944 }, 945 { 946 "type": "text", 947 "text": "https://gitlab-jira.atlassian.net/5eb8e93b-7b15-446f-82d9-9d82ad7b8ea5#media-blob-url=true&id=572b2c1b-1b38-44ba-904a-649ee1861917&collection=upload-user-collection-426749591&contextId=10042&mimeType=image%2Fpng&name=import-jira-issues.png&size=294408", 948 "marks": [ 949 { 950 "type": "link", 951 "attrs": { 952 "href": "https://gitlab-jira.atlassian.net/5eb8e93b-7b15-446f-82d9-9d82ad7b8ea5#media-blob-url=true&id=572b2c1b-1b38-44ba-904a-649ee1861917&collection=upload-user-collection-426749591&contextId=10042&mimeType=image%2Fpng&name=import-jira-issues.png&size=294408" 953 } 954 } 955 ] 956 } 957 ] 958 }, 959 { 960 "type": "paragraph", 961 "content": [] 962 } 963 ] 964} 965