Forums

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

Can I use a Custom Field as a tag in a comment?

Marco K_ November 12, 2024

I have a custom field: Original Developer which I want to use in an automation/comment.
image.png
When referencing the field it does not display the name/tag.

 

Some things I've tried:

1. [~accountid:{{issue.customfield_11379}}]
2. [~accountid:{{issue.customfield_11379.accountId}}]
3. [~accountid:{{issue.customfield_11604.accountid}}]
4. [~accountid:{{issue.customfield_11604}}]
5. [~accountid:{{customfield_11604}}]
6. [~accountid:{{customfield_11379}}]
7. [~{{customfield_11379}}]
8. [~{{issue.customfield_11379}}]
9. {{issue.customfield_11379}}
10. {{issue.customfield_11604}}
11. {{issue.customfield_11379.accountid}}
12. {{issue.customfield_11604.accountid}}
13. {{issue.customfield_11379.accountId}}
14. {{issue.customfield_11604.accountId}}

 


 

Output:

 

1. [~accountid:]
2. [~accountid:]
3. [~accountid:]
4. [~accountid:]
5. [~accountid:]
6. [~accountid:]
7. [~]
8. [~]
9.
10.
11.
12.
13.
14.

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Gaurav Arora
Community Champion
November 12, 2024

Hi @Marco K_ ,

I'm not sure why you're experiencing this issue, but I believe that #2 and #3 (where you've used different custom field IDs with the same syntax) should have worked for you.

I tested it in my Jira instance, and it functioned as expected.

By any chance you haven't added a value to the custom field in your issue for which you're testing? I can see in the screenshot there is no user selected in "Original Developer" field, and it is the only thing I find that could impact this.

Best regards,

Gaurav

Marco K_ November 12, 2024

Hi @Gaurav Arora  you are right, I did not fill in the Original Developer customer field. For future reference: Options: #1 #2 #5 #6 #7 are working for me. 

TAGS
AUG Leaders

Atlassian Community Events