Community moderators have prevented the ability to post new answers.
Could you explain the requirement a bit more? What do you mean by "download" - what's the format for example? And why just one field?
I am trying to read a field value of any specific issue and copy that in a text file. I tried using CustomFieldManager class but could bot get the result.
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.
Ok, so you are writing an addon to get plain text. Try issue.getCustomFieldValue(customField)
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.
Hi Nick, I am trying to implement almost similar to export option on issue view page but for only specific fields(with and option to export in text file). I have already downloaded the jira source code .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick, need your help here as I am unable to trigger an action when ever I click on the new web item I have created on the issue view page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a different question. Check the classes you've pointed the web-item action to in the xml.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] I have added the screenshot of what I am actually trying to do. Already added the web item. Now when a user clicks on the FeatureFile it should download a custom field value in a text file on user's desktop. Issue currentIssue = (Issue) jiraHelper.getContextParams().get("issue"); CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager(); CustomField customField = customFieldManager.getCustomFieldObject("10000"); Object goal = currentIssue.getCustomFieldValue(customField);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your code will need to construct some html that tells the browser this is a download of some text rather than a web page. Have a look at the links on the issue or issue navigator for "download to excel" or "save as word" - they do it.
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.