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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Are smart values supported in JIRA Automation?

I would like to be able to use smart values (https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/) ... In the custom data for the automation.  Is this possible?

For example I add project, service, stage custom context fields to a story, and then I want to refer to them in the POST custom data setup for the 'Send web request' automation component.

{
"project": {{project.value}},
"service": {{service.value}},
"stage": {{stage.value}}
}

2 answers

1 accepted

Well I did make a new field (called project in this example)and tried a few ways to reference it in the post body

{{project}}

{{project.value}}

{{customfield_10031}}

{{customfield_10031.value}}

 

When I look at the automation audit log, the value for this field is not getting resolved.  Perhaps I am not using the right syntax?

attached are a few pics.

Picture1.pngPicture3.pngPicture2.png

John Funk Community Leader Apr 21, 2020

WOW - that's a lot more in depth for my experience for this type of automation. 

I suspect that creating a custom field called project will give you other problems down the road. Why did you name it that and it will probably get confused with the system Project field. Not sure that is your problem, but it could be. 

Having said all of that, I would suggest going ahead and opening a support ticket with Atlassian here:

https://support.atlassian.com/contact/#/

project was just an arbitrary argument name.  I just renamed to project1 and re-tried, same issue.

The use case was just to enable an easy way for the person working the JIRA ticket to fire off a call to some REST service.  My thought was to use the new JIRA automation to call my REST service, but I want the parameters to just pulled from JIRA ticket fields or allow the JIRA user to adjust them before they manually run the automation step.  I am trying to avoid developing a custom "connected" app.

John Funk Community Leader Apr 21, 2020

Understand. I would submit a request and let the Atlassian folks guide you.  :-)

Thank you I submitted a request.

What I learned from support is that I was using a "next-gen" JIRA project and smart values are not fully supported yet.  I made a NON "next-gen" project and I was able to get the REST request automation to work.  But in doing this, I learned the automation web service gives an error if you have an unsigned certificate in the target URL.  But made some progress.

Like Rosa M Fossi likes this

Does anyone know if Smart values are supported for automation in NEX-GEN. Did Atlassian make progress?

Simple as due date which is not even a custom field I can't get it to work :-(

My rules work perfectly in Classic but not in Next Gen

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

106 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you