Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How To Reference Custom Issue Fields

Olivier Mollies August 4, 2021

When creating Automation Rules for my Project, how do I reference Issue fields that I created before?

The list only shows the pre-defined/standard issue fields and not the new ones I make.

 

Please help.

1 answer

1 accepted

2 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
August 4, 2021

Hi @Olivier Mollies and welcome,

That's not true. You can edit custom fields you've created. Can you share your rule, or at least try to explain what are you trying to achieve?

Regards,
Alex

Olivier Mollies August 4, 2021

Sorry, I didn't mean edit the Custom Field I meant Reference it.

 

How do I reference it when creating an Automation Rule with the 'Issue Fields Condition' step?

Alex Koxaras -Relational-
Community Champion
August 4, 2021

You mean like this?

customfields.png

All of the above are custom fields I've created. 

Or you mean by using smart values? https://support.atlassian.com/jira-software-cloud/docs/what-are-smart-values/

Olivier Mollies August 4, 2021

Yes, exactly. 

So, for me it's not like that at all so let me show you 2 screenshotsissue.pngrule.png

Olivier Mollies August 4, 2021

The left shows the Issue with custom field 'Reviewer' and the right shows the non-existence of said Field in the drop-down menu.

Alex Koxaras -Relational-
Community Champion
August 4, 2021

@Olivier Molliestry the advance compare instead:

advanced rule.png

 

I've tried it and works. :)

Olivier Mollies August 4, 2021

problem.png

Sorry, but I get "Field not found" (see pic above).

Alex Koxaras -Relational-
Community Champion
August 4, 2021

@Olivier MolliesI said "advanced issue condition" and not "issue field condition" :)

Like Olivier Mollies likes this
Jack Brickey
Community Champion
August 4, 2021

I wonder if we are dealing with a TMP-Automation limitation here. I see that Oliver is using TMP. I haven’t attempted in TMP myself.

Alex Koxaras -Relational-
Community Champion
August 4, 2021

@Jack BrickeyI confirm that what Olivier says is true. I can't see also the field I've created. However if you try the advance issue condition, then it works like a charm.

Like # people like this
Olivier Mollies August 4, 2021

@Alex Koxaras -Relational- , one more thing actually. How would I then reference the same field in an action to modify that field?

Alex Koxaras -Relational-
Community Champion
August 4, 2021

@Olivier Molliesit would really help if you could be more precise on what you wanted to achieve. But if I guessed correctly, you would edit that issue (as an action) and then use the advanced section to edit the field, based on this documentation https://docs.automationforjira.com/smart-fields/advanced-fields.html

advancedEdit.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2021

Hi @Olivier Mollies 

In addition to what Alex and Jack are suggesting...

Smart values are case-sensitive, so ensure that your value matches the capitalization of your custom field.  When that still does not work, you may reference the field by its custom Field ID value.  To find that, please use the information in this how-to article:

https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer