Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,246
Community Members
 
Community Events
184
Community Groups

How to use CRM field in automation?

Hi all,

We have CRM field Company and we want to use its value as a condition in jira task automation. We need to automaticaly edit tasks in depending of the company chosen. But we are not able to select this field  - it's not in the list of fields. 

Can you suggest me how to solve this?

kind regards,

Anna

4 answers

1 accepted

0 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

Ηι @Anna Grace and welcome to the community,

Which post function do you use? Do you have any 3rd party app like JMWE? This field you are talking about is it a custom field which you created? What type?

Hi Alex,

I don't know what is post function.

2023-05-08 10_25_10-[MMSD-42292] New relationship - JIRA.png2023-05-08 10_20_26-Client upgrade schedule - Issue types - JIRA.png

 

2023-05-08 10_24_39-Client upgrade schedule - Details - JIRA.png 

I hope it helps

Kind regards,

Anna

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

@Anna Grace instead of using the issue fields condition, use the advanced compare condition and type something like:

company.png

In the second value, place a value which the company field might have.

Test your rule that it's working properly and you could also add a log with the value {{issue.fields.Company}} to see what value it is returning.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

@Anna Grace please reply within my answer if that's ok with you, in order to avoid any confusion. Can you please see if that custom field exists on your instance? In addition, which app do you use?

unfortunately it doesn't work.

I tested  the advanced compare condition for CRM created field {{issue.fields.Company}}  - failed and for Jira field (s)  - success

the field Company exists and we regulary use it. It's the key field for us.

I use Jira Cloud (if you asked about it)

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

@Anna Grace I meant that I would like you to check on custom fields and see if you can find it there. If you can, click on the ellipsis menu and then see its id on the address bar of your browser (usually bottom left corner when hovering over a link):

custom field id.png

And again I have to ask you: which app do you use for CRM?

Katarzyna Pawlak _Appsvio_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

Hi @Anna Grace ,

As I see on the screen, the app provides this custom field. It can cause a problem. What app do you use? You should contact the vendor.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

@Katarzyna Pawlak _Appsvio_ it's not necessary to contact the vendor. Not yet at least. It's not clear if this custom field can be found in this jira instance (which most likely can). And during the automation we will use this ID instead of the name. Who knows? They might have more CFs with the same name.

@Anna Grace kindly provide the audit log and the rule as well.

Hi Alex,

CRM app - CRM for Jira Cloud

 2023-05-09 10_49_58-Chat _ Microsoft Teams.png

2023-05-09 11_06_29-CRM for Jira - Customers & Sales _ Atlassian Marketplace.png

We have  this Custom Field in Jira. It's locked.  Popup window: "This confiruration item is locked by Jira or one of its plugins. You are not allowed to alter its configuration"

There's only one field with this name  (Company)

customfieldId=11447 

2023-05-09 10_57_23-Client upgrade schedule - Details - JIRA.png

2023-05-09 10_58_20-Client upgrade schedule - Details - JIRA.png

Kind regards,

 Anna

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2023

@Anna Grace in your compare component, the equation is not right. You should type

{{issue.fields.customfield_11447}}

Try the above and let me know.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2023

@Anna Grace , to reply to your answer:

Thank you very much, Alex! It works!!

Usually we fill in this field manually from the dropdown but we really want to automate it.

And is it possible to make a rule that fills it in depending on curtain condition?

If that's ok with, try to reply to this thread, in order to keep it as clean as possible for other users in this community. In order to automate it, you have to use the if/then component (ignore the trigger I've chosen):

if then else.png

Sorry, I didn't catch your idea on the screenshots. Perhaps my explanation were not clear. I've created another question :

https://community.atlassian.com/t5/Jira-Software-questions/I-want-automatically-fill-in-CRM-created-field-in-Jira-task/qaq-p/2354324#M265551

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2023

@Anna Grace ok, I'll take a look at your other question. In the meantime, kindly mark my answer as accepted, in order to help other in the community with the same question as yours.

Thank you very much, Alex! It works!!

 

Usually we fill in this field manually from the dropdown but we really want to automate it.

And is it possible to make a rule that fills it in depending on curtain condition?

Ok, within 2 days we'll send this. It's not urgent. 

thank you

thank you, Alex

I've tried for this field, but it doesn't work.

 It works for Jira fields (I've checked) but not for this.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events