Forums

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

Workfolw post functions

Gleb Kartashov
Contributor
July 18, 2019

Hi!

Here's the situation:

  1. Issue is created with filled Insight object custom field (Custom Field A, required)
  2. Custom Field  B in this issue needs to be updated according said Insight object's custom attribute (Custom Attribute A)
  3. Both Custom Field B and Custom Attribute A are string type.

What is the correct way to update custom fields via WF post function?

3 answers

1 accepted

0 votes
Yinon Negev
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.
July 19, 2019

Hi Gleb.

      As per Haran's explanation - seems that you would use the Insight Postfunction: Set a Jira custom field with the attribute value from a selected object 

Any created post function on the create transition should be placed after the actual creation of the issue. So do not put it first in the list, it will not work.

Kind regards,

Yinon

Team Riada

0 votes
Haran Kumar
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.
July 19, 2019

Hi @Gleb Kartashov , 

If i got you right , there is a Custom Field A that needs to be updated mandatorily , and the custom field B needs to updated based on the field value of Custom Field A. 


If thats the case you can use combination of post function and validators. 

Suggest an answer

Log in or Sign up to answer