Basically I'm trying to predefine some values with URL.
<web-item key="has-defect" name="has-defect"
section="operations-operations">
<label>Has Defect</label>
<link linkId="issueaction-has-defect">/secure/CreateIssueDetails!init.jspa?ppid=$issue.id&pid=$issue.project.id&issuetype=27&lname=Defect&customfield_10056=$issue.getCustomField("customfield_10056").name
&assignee=$issue.assignee.name&customfield_10011=$issue.getCustomFieldValue("customfield_10011")&customfield_10046=10248
&customfield_10022=$issue.getCustomFieldValue("customfield_10022")</link>
</web-item>
Assume I hava an Issue with custom field "Some Custom Fied" value in it, is it possible get it's value from issue like I'm getting for example Assignee: $issue.assignee.
I've already tried : $issue.getCustomField("customfield_10056").value;
$issue.getCustomField("customfield_10056").name;
$issue.getCustomFieldValue("customfield_10056")
Thanks for your time.
Hi,
Can you try the below one.
$issue.getCustomFieldValue($customFieldManager.getCustomFieldObject("customfield_10056"))
This is how you get the Customfield value in any plugins(postfunction/ condition etc)
Nope, doesn't work. I think that there are no $customFieldManager object in web-item context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.