Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,847
Community Members
 
Community Events
168
Community Groups

Scriptrunner Webpanel - Customfield

Edited
Hi. I've using scriptrunner to add some web panels on the right side in issue dialog. There I provide some additional information to my agents. This information is stored in customfields. I render the text in the panel. But better is when there is the native customfield.

Is it possible to get the customfield with his inline edit in a webpanel? How can i manage this.

My other question is, why are my nFeed key values are rendered not in the webpanel after the first load. I have to click on a transition than the values where rendered correct. Is there anyone who uses nFeed values at the right view issue context?

In which case jira refresh the view screen and fetch new data?

Best regards

Torsten

2 answers

1 accepted

0 votes
Answer accepted

Hello. Yes since a few month we've a solution.

We use script fragments with import of nfeed FiedDisplayService

import com.valiantys.nfeed.api.IFieldDisplayService;

@WithPlugin("com.valiantys.jira.plugins.SQLFeed")
@PluginModule
IFieldDisplayService fieldDisplayService;

def issue = context.issue as Issue

String service = "";

//Get the Display or Key with the fieldDisplayService

Object displayResult = fieldDisplayService.getDisplayResult(issue.getKey(), "customfield_10619");
if (displayResult != null) {
    service = displayResult.getDisplay();
}

 best regards

 

Torsten

Hi Torsten,

Sorry, but I can't help you with your problem. But I am very interested in how you managed to display nFeed values in a web panel on the right hand side.
We are trying to achieve the same thing, but it just won't work.

Any help would be appreciated.

Regards,
Daphnis

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

172 views 1 6
Read article

Atlassian Community Events