Jelly: How to deal with a required stock field with a space int he name?

Jelly script: How to handle a required stock field with a space int he name? E.g. "Affects Versions".

Is there a way to refer to such fields by any other identifier? e.g. a number. If yes, then how to get a corresponding number for such a field?

2 answers

1 accepted

0 votes
Accepted answer

The system fields have their own identifiers - description, summary, affects, fixed, and so on. I can't rememeber if the word you need here really is "affects" though - my memory is also muttering "affectedVersion"

The field appears as 'affects version'. It is a stock field not a custom field.

There are multiple such fields with space in their names.

If there is such a field can it be referenced by any other identifier?

Er, that's the answer I gave - the system fields have their own identifiers.

You might be confused by my choice of words - I tend to use the word "system" instead of "stock", because system fields are all built into Jira, as opposed to custom fields. Some custom fields "stock" because they're created by default in a new installation

There wording for affects version in jelly is simple "versions",

please check following link:

https://confluence.atlassian.com/display/JIRA/Jelly+Tags#JellyTags-jira:CreateIssue

My apologies, I've just found the bookmark I use and the word you need is simply "versions". See https://docs.atlassian.com/jira/latest/constant-values.html#com.atlassian.jira.issue.fields.FieldManager.CUSTOM_FIELD_PREFIX

@Nic Brough, @Udo Brand:

Thank you for your answers.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,110 views 4 9
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