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

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,418 views 15 19
Read article

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