Page tree
Skip to end of metadata
Go to start of metadata

获得成员的属性,可以通过以下表达示来完成

Member_Expression.AllProperties

当然,也可以获得具体的属性值,我们以获得一个问题的属性为例

EY: ANERDS-1
DISPLAY_KEY: ANERDS-1
Created at: 2019-05-25 06:32:12
Updated at: 2019-10-23 18:15:08
Updated at UTC: 2019-10-23 18:15:08
Status updated at: 2019-10-24 03:04:19
Resolved at:
Closed at:
Due date:
Reporter name: anton@atlassian.com
Assignee name:
Issue type ID: 1
Priority ID: 2

获得优先级另的ID

[Issue].CurrentMember.get('Priority ID')


获得优先级另的ID

[Issue].CurrentMember.get('DISPLAY_KEY')
[Issue].CurrentHierarchyMember.Get('DISPLAY_KEY')


问题的主题不能从属性中获得,需要在高级中进行设置

[jira.customfield_summary]
name = "问题主题"
data_type = "string"

javascript_code ='''
issue.fields.customfield_summary = issue.fields.summary;

'''

  • No labels