Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Suggest an answer

Log in or Sign up to answer
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

TAGS
AUG Leaders

Atlassian Community Events