Hi
We have a need to show a pop up so that user can confirm(yes/no) while adding attachment to issue if attachment contains customer details in it.
What are the ways to achieve it? We couldn't think of any straight forward solution. May be we can add a warning message with behavior bur how to have yes/no confirmation?
Hi @SCK
You can try this, but I haven't done it myself and it will be a lot of work and cost money for a plugin.
One way I can think of is by using a transion that calls itself (link:https://community.atlassian.com/t5/Jira-articles/How-to-create-global-looping-transitions-in-a-Jira-workflow/ba-p/1135968) and call it add attachment and a have a transition screen on it with the attachment customfield and the confirmation customfield (link: https://youtu.be/RIKYX-z4meM)
Then remove the attachment customfield in the create and edit screens.
Now, you have to somehow disable the addition of attachments via the view screen. Or users will be able to add attachments without the new button. You can do this with scripting via the powerscripts plugin. You will be using live fields and lfexecutejs to disable the add attachment UI link. Link: https://confluence.cprime.io/plugins/servlet/mobile?contentId=6558170#content/view/6558170
Cprime provides excellent support so you get stuck, feel free to contact them via chat or email.
Thank you for sharing your knowledge, will test it out in our non-prod and keep this thread updated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.