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,300,969
Community Members
 
Community Events
165
Community Groups

use smart value / variable in Workflow post function

Edited

Hi,

Basic question: is it possible to use smart values in Workflow-post functions to set the value of a field ? 

I know how to set a static value to a field using post-functions but I won´t get it to work using smart values - I have just tried as in jira automation to enter {{issue.reporter.properties.office}}

as a result exactly "{{issue.reporter.properties.office}}" will be the value of the field

 

bit more information:

currently I am testing the atlassian user properties, set via API (currently just via Postman) 

Finally I am able to set a user property: {{issue.reporter.properties.office}}

content of this smart value is: {office=Munich}

I want to set this value when a issue is created using a Jira Workflow instead of a Jira Automation.

1 answer

Hello Felix,

I tried it also with different variables but without success.

I think it is not possible to use smart values or any other expression expect %%CURRENT_DATETIME%% and %%CURRENT_USER%%

 

Why don't you want to use a Jira Automation? 

Alternatively you can use Apps like JWT oder JMWE. Its possible to set variables with them..

 

Regards

Sam

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

247 views 13 7
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