Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get the JavaDoc for Jira Misc Custom Fields?

SteveM August 31, 2018

The Jira Misc Custom Fields addon has some basic documentation, but I can't find the JavaDocs for the custom classes it uses, and I don't know what methods are available for it.

There's https://innovalog.atlassian.net/wiki/spaces/JMCF/overview but it's very basic.

I want to get the issue key for the "issue" variable that's present when executing a script in a calculated text or number field. issue.getKey() doesn't work, which is normally available for a MutableIssue or Issue object.

I can see that the class if the "issue" variable is com.innovalog.jmcf.fields.IssueProxy

However, there's no documentation on this class I can find. All I can see is issue.get('custom_field_name'), which isn't what I need.

Simple, how can I get the issue key? More broadly, how can I see the JavaDoc for methods available and inherited methods for what they extend? Is this published?

 

2 answers

1 vote
David Fischer
Community Champion
August 31, 2018

Hi,

a brand new documentation will be coming along with a brand new version within a month. In the meantime, you can refer to https://innovalog.atlassian.net/wiki/x/BYAbAg to learn about issue.get. You can also use the issueObject variable to access the issue as a full Jira Issue object.

Deleted user September 2, 2018

This is what I was looking for, thanks!

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2018

Hello Steve,

Please, try the following to get the Issue Key:

issue.get('issuekey')

 You can check the documentation below for more information about it:

https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/95649935/How+to+insert+information+using+Nunjucks+annotations

Deleted user September 2, 2018

This works, thanks! The other documentation referenced by David is more what I was looking for in regards to the more traditional JavaDoc of methods and return types.

Suggest an answer

Log in or Sign up to answer