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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

80 views 0 5
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