Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe



Panel
borderColor#1b878f
titleColor#1b878f
titleBGColorwhite
titleUse case details


Page properties


Function

<link to function being used>

Type

Post function

Use case description

Create a sub-task for each component in your project, you can make use of this function to avoid repetitive tasks when you have multiple components and want to create a sub-task for each.  

Complexity

Status
colourGreen
titleBeginner





Configuration steps


Basic configuration*

Image Modified



UI Expand
titleMode*

When you apply the example from the create issue post function in your Jira instance, it will create a single issue.


Code Block
titleExpression*
toStringList(%{issue.component})
The expression must return a string list. 
The number of list elements defines the number of issues to be created.


UI Expand
titleIssue type*

The issue type is the selected issue type. i.e the issue type that is currently selected.


UI Expand
titleSpecific issue type
In the example given on the left, we chose the "sub-task" issue type, so it will create a sub-task for the selected issue type.


UI Expand
titleParent issue*

Here we have chosen the "Current issue" for the required field parent issue.

UI Text Box
typeinfo
Choosing another specific issue type, e.g task or epic, will have an effect on the Parent issue parameter, it will be visible as Project and not Parent issue.




Fields*

Code Block
titleSummary
Summarize your issue , and you can also use field codes 


Code Block
titleDescription
Describe your issue, and you can also use field codes


Additional fields


UI Expand
titlecopy remaining fields

Choose from which issue you want to copy the remaining fields from.

If you chose an issue to copy from you would have to choose between the following options (multi choice is possible):

  •  All remaining fields
  •  Attachments
  •  Comments
  •  Issue links





After checking if the parameters match this example you can click on add and see how the post function works.

Now that you are familiar with this post function and what it does, you can configure the parameters based on your needs.



Related examples

Page properties report
firstcolumnUse case
headingsType,Function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and space = currentSpace() and parent = currentContent()



If you still have questions regarding this example or others, feel free to refer to our support team.