Jelly -System field names with space

I want to update some fields which have space in their name. How does one do that? These are not custom fields.

1 answer

0 votes
Eddie Webb Community Champion Sep 25, 2013

There are a number of fields mapped to camelCase values, i.e. issueType.

But if your field is not in this list, I dont think it is supported.

protected static final String KEY_ISSUE_ID = "key";
  protected static final String KEY_PROJECT_ID = "pid";
  protected static final String KEY_ISSUE_ASSIGNEE = "assignee";
  protected static final String KEY_ISSUE_CREATED_DATE = "created";
  protected static final String KEY_ISSUE_UPDATED_DATE = "updated";
  protected static final String KEY_ISSUE_TYPE = "issueType";
  protected static final String KEY_PRIORITY = "priority";
  protected static final String KEY_ISSUE_REPORTER = "reporter";
  protected static final String KEY_SUMMARY = "summary";
  protected static final String KEY_DESCRIPTION = "description";
  protected static final String KEY_ENVIRONMENT = "environment";
  protected static final String KEY_COMPONENTS = "components";
  protected static final String KEY_VERSIONS = "versions";
  protected static final String KEY_FIX_VERSIONS = "fixVersions";
  protected static final String KEY_ISSUE_SECURITY = "security";
  protected static final String KEY_DUPLICATE_SUMMARY = "duplicateSummary";
  protected static final String KEY_ISSUE_ID_VAR = "issueIdVar";
  protected static final String KEY_ISSUE_KEY_VAR = "issueKeyVar";
  protected static final String KEY_ISSUE_ASSIGNEE_VAR = "issueAssigneeVar";

And unfortunately I don't see any dedicated element to non custom fields in the api, https://developer.atlassian.com/static/javadoc/jira/5.0.5/reference/com/atlassian/jira/jelly/tag/issue/package-summary.html

And looking in the source of JiraTagLib I don't see any tags dedicated to non custom fields either.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,798 views 11 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot