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

Add custom 'Statistic Type' to group gadget

Eliseu Eliseu Aug 25, 2017

I have the following filter:
status was resoled by membersOf (developers)

I'm using the 'Pier chart' gadget, I would like it in 'Statistic Type' to be grouped by the user who passed the status to resolved.

1 answer

0 votes
Nic Brough [Adaptavist] Community Leader Aug 25, 2017

You will need to find or write a bit of code to do that.

The gadget can work on users, as you can tell by looking for "reporter" or "assignee" in the list.  But "last person who moved the issue through a transition" is not a field in JIRA. 

You'll either need to create a single user field for it, and then change your workflows so that a post-functionc sets the field to "current user", or create a scripted field that will look in the history to work it out.

Eliseu Eliseu Aug 25, 2017

Is there a way to create this field, and is it populated automatically whenever the event occurs?

That is, whenever a user changes the status to resolved this new field is populated with the name of the user. That in case it should be a list of users, for each user who does this in the same issue.

Nic Brough [Adaptavist] Community Leader Aug 25, 2017 • edited

See third paragraph of my answer.  Although you'll need a multi-user-picker, and "add to list" code.

Eliseu Eliseu Aug 25, 2017 • edited

So I do not want to take another step in my workflow.

This feature needs to be invisible

Nic Brough [Adaptavist] Community Leader Aug 25, 2017

Please re-read it again, there's no mention of new steps.

Eliseu Eliseu Aug 25, 2017

I only found 'script field' if using the ScriptRunner plug-in, and I do not have this plugin.

Or can I use the script field in another way?

Nic Brough [Adaptavist] Community Leader Aug 25, 2017

There are other add-ons that might be able to do a scripted field for you, and some that might provide an explicit "users who did transaction" as well.

I've always got ScriptRunner around, so I've not looked for them

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

838 views 0 12
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