My objective is to set value to a particular custom field (select type) and store in JIRA db. This is my entire code. Can anyone let me know what am I missing ?
import static org.apache.log4j.Level.DEBUG;
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager();
ApplicationUser currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();
CustomField customField = customFieldManager.getCustomFieldObjectByName("% Completion");
IssueManager issueManager = ComponentAccessor.getIssueManager();
if(issue.issueType.name == "Conversion Execution")
UserMessageUtil.success("Code is compiling till here with no error logs.");
Jira may be a staple part of your workday, but your colleagues, customers, business partners or an auditor might need information presented in a different format, that is easy to access and read. And...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events