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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,383 views 15 13
Join discussion

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