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

Accepted Answer
0 votes

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,661 views 2 7
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