Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

102 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you