Adding default description in company managed project
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
On Team managed projects we can have a default description template when you create an issue, however this is not currently possible on company-managed projects.
環境
Jira Cloud
Current Design
As per current design, we cannot add default values in system description field. we have a feature request logged for this ability, however current workarounds do not apply to Jira cloud
Feature request: JRACLOUD-42197 - Ability to set a default description template GATHERING INTEREST
回避策
We will be using a custom field which will replace the default description field, Upon creation of the issue the value is then copied to the default system description field.
手順:
Create a custom field named "DescriptionX", Paragraph as field type.
Click on the three dots and select contexts and default values to add the required default fields
例
As a <role> I want to <task> , so that <expected result>
*Overview of expected functionality*
*Functional Requirement*
* GIVEN
* WHEN
* THEN
*Acceptance Criteria*
(x)
(x)
(x)
3. Replace the native "Description" with custom "DescriptionX" in the Create Screen configuration (Remove Description)
Note: This custom field (Description X should be applied only on create screen) view and edit screen should still have another screen, If you are using a default screen for create, view and edit you will need to create another screen for view and edit (Reference screenshot below)
4. Go into your workflow configuration and at the first transition select Post Functions
5. Add 2 post functions at the top of the post functions list (1 and 2). (Hover over the function and arrange it as per the screenshot below)
6. Publish the workflow
7. You can go back to custom fields and rename Description X to Description (optional)