Clearing Label values or get the jira.create.issue sceen id

Hi!

I have a Label on my Create Issue screen and at the moment i can add value to it and get the values from it. When i add a value there will be more option i can chose from so the values stacking up.

My first question is that there is a way to clear of the stacked values of the label, so can i somehow clear it? I have not found an option to do that at the moment.

My other question is that i can get the jira.create.issue screen id? I want to put fields from source code and i need that for this part(screenID):

FieldManager fieldManager = ComponentAccessor.getFieldManager();
FieldScreenManager fieldScreenManager = ComponentAccessor.getComponent(FieldScreenManager.class);
FieldScreen fieldScreen = fieldScreenManager.getFieldScreen(new Long(screenId));

 

0 answers

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

375 views 1 18
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