Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove field in "Create issue" screen from a teams-managed project

Thai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2023

I've set up a teams-based Jira project using a Kanban template. I've removed all issue types except for the Bug issue type and removed a few fields I didn't need for that issue type.

However, when I go to create a new issue in the project I still see the fields that I had removed. It looks fine when I go to view/edit existing issues but the problem is in the screen where I create the issue. 

Is there a way to resolve this problem in a teams-based project? A lot of the solutions I've seen so far require me to set up a company-managed project which my Jira administrator understandably does not want.

2 answers

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Champion
November 8, 2018

Hi @Ramesh Lakshmanasamy

Here is a working example for custom email with Jira JAVA API

import com.atlassian.mail.Email;
import com.atlassian.mail.queue.SingleMailQueueItem;

Email email = new Email("email_address@company.com");
email.setCc("another_email_address@company.com");
email.setFromName("what ever you want");
email.setSubject("what ever you want");
email.setBody("what ever you want");
email.setMimeType("text/html");
SingleMailQueueItem smqi = new SingleMailQueueItem(email);
ComponentAccessor.getMailQueue().addItem(smqi);

 

Note that "setCc" and "setFromName" are not mandatory, you can remove these rows if you don't want them.

 

You can check your mail queue in Jira to make sure your code works and email are going to the queue.

If the email not sending then you configured the mail server wrong.

 

Try the code, check if you see the mail in the queue, and/or it being sent.

Let me know the outcome. 

Ramesh Lakshmanasamy
November 11, 2018

Thanks for your reply its working fine

0 votes
Juan Jose
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2020

hi guys, does someone has an example of How I can send an outlook event "Appointment" from JIRA? 

robert_egan_305
September 2, 2021

Not an example, but a hint.

setMultipart(javax.mail.Multipart appointment)

There are multiple examples of the format scattered around the internet...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events