Hello
I want to add in my header section the same button locate in create issue (configure fields). With a picture i think he will be more clear.
I would know if it's possible to do the same with my fields located in jira issue view ? And how ? I try to use a web item but he doesn't works.
PS : Sorry for french in picture
Thanks for your answers.
Jordan
Hi Jordan,
For JIRA view you might use screen. If you want users be able to add or delete fields for view - we can write a small plugin that would filtrate them from the screen
It is needed:
- a webitem with dialog
- servlet - for user request proccessing
- active objects back end - to store info
- servlet filter: to delete needless fields during loading
Regards
Thanks for your answer, but how link my webitem to my servlet for user request ?
Jordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make a javascript, that will change column activity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have doing this :
package com.infosClientJira; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; @SuppressWarnings("serial") public final class Tri extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { final PrintWriter w = res.getWriter(); w.write("<h2 align='center'>Tri</h2>"); w.write("<div class='qf-picker'>"); w.write("<div class='qf-picker-header'>"); w.write("<dl><dt>Print fields&nbsp;:</dt>"); w.write("<dd>All</dd>"); w.write("<dd><a class='qf-configurable' href='#'>Personalize</a></dd>"); w.write("</dl>"); w.write("</div>"); w.write("<div class='qf-picker-content qf-picker-unconfigurable' style='max-height: 658px;'>"); w.write("<ul class='qf-picker-buttons'>"); w.write("<li><span title='adv - facturation' data-field-id='customfield_11000' class='qf-picker-button qf-active' href='#'>adv - facturation</span></li>"); w.write("<li><span title='com - rappel a+' data-field-id='customfield_11100' class='qf-picker-button qf-active' href='#'>com - rappel a+</span></li>"); w.write("<li><span title='Étiquettes' data-field-id='labels' class='qf-picker-button qf-active' href='#'>Étiquettes</span></li>"); w.write("</ul>"); w.write("</div>"); w.write("<div class='qf-picker-footer'></div>"); w.write("</div>"); w.write("<script language='javascript'>document.forms[0].elements[0].focus();</script>"); w.close(); } @Override protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { } }
So now when I click on Personalize i would check and uncheck the box. To do this I need to implement doPost ? Or I can do this by an another way ?
Thanks a lot !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a additional dev: create a form in dialog, that will send requests to servlet
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.