componentLead(projectKey, componentName) to update custom field in post-function

Andrey Vorobets February 26, 2016

How to use this function componentLead(projectKey, componentName) to update custom field in Create issue post-function  ?
I tried follow:
Set custom field: field_id
Custom field value: componentLead(%project%, 'QA') 
Component 'QA'  is present & component lead is present

Also tried  Custom field value: componentLead(%original_project%, QA) 

But target custom field is empty

Using follow:  Set custom field: field_id Custom field value: %parent_assignee%
work fine 

2 answers

1 accepted

0 votes
Answer accepted
Andrey Vorobets February 28, 2016
%function_componentLead(%original_project%,QA)%
should be used as value
0 votes
Andrey Vorobets February 26, 2016

P.S. Bob Swift Atlassian Add-ons - Create on Transition (org.swift.jira.cot)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events