Asking user for confirmation with prompt?

I have a java plugin that works with greenhopper/jira that moves certain issues around when certain conditions are met.

Is there any way I can prompt the user to confirm or cancel when these changes are about to happen using either Java or Jython?

2 answers

1 accepted

Hi Justin,

As listeners are non interative. So in listeners, you can just store the ids of those issues which you are moving. In the UI part, you can create a separate jira menu which will be visible only when there are some issues left for moving and for confirmation. This condition will be checked by JIRA on next refresh of page automatically.

It is just an idea, you can do it in a completely different way according to your need.

I think that's right - flagging them somehow and adding them to an approval queue (Which you'll have to code for) is probably the way to approach this.

Gotcha, thanks!

1 vote

Depends on how your plugin is doing it. Is it a listener of some sort?

Yes, currently it is an issue event listener

Then, I'm afraid the answer is no. Listeners are completely non-interactive, there's simply nothing to hang any form of user prompting on.

In fact, I'm not too sure you can do it in any other way either. I assume you're looking for some form of acceptance popup when someone moves something on a GH board? I think that would need hooks coded into the core of Jira and GH

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,197 views 10 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you