JIRA Misc Custom Fields: get epic link

Deleted user June 12, 2014

Hi,

We would like to use the plugin 'JIRA Misc Custom Fields' to get the name of the epic link.

I tried this code, but it gives me the epic key instead of the name of the epic link.

<!-- @@Formula: issue.get("customfield_10001")-->

customfield_10001 is the custom_field 'Epic_link'.

Is there a way to get the name of the epic link?

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
David _old account_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2014

By "name of the Epic link", do you mean the Title of the Epic?

If so, what you get from issue.get("customfield_10001") is an Issue object, so you can call getSummary() (for example) on it, after of course making sure the field value is not null:

&lt;!-- @@Formula: issue.get("customfield_10001")==null ? null : issue.get("customfield_10001").getSummary() --&gt;

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events