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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

303 views 1 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