Forums

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

Fast-track transition an issue

Melina Ailin Maquieyra November 5, 2021

I am using a Scriptrunner Fast-track transition an issue in a Postfunction to transition my workflow when Field Value is "reopened". I have two intance of jira core server and the same post function in both  but in ones of them works correctly and in the other, the warning says: 

static type checking - no such property: value for class: java.lang.object @[deleted] 1 @column 1

For example, right now I am trying: cfValues['estado_ALM']?.value == 'reopened'

1 answer

0 votes
Alex
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.
November 5, 2021

Hi @Melina Ailin Maquieyra and welcome to the community!

If I got your question right, do you have a  Scriptrunner Fast-track post-function working on a workflow transition in Jira Server and want the same to work on Jira Cloud? If that is the case I am afraid you will need to rewrite the code on the cloud workflow to consume REST API’s APIs rather than the Java APIs.

Take a look at the Scriptrunner documentation for post-function to get a sense of the new code.

Cheers,

Alex

Melina Ailin Maquieyra November 8, 2021

Hi. Sorry for my English

I'm not using Jira Cloud yet. 

My question is:

I have a custom field "status ALM" that have the values "reopened" and "others".

In the script:

cfValues['status ALM']?.value == 'reopened'

Action: reopened

I've two instance of jira core server (testing and production). In testing works correctly but in production I have the warning: static type checking - no such property: value for class: java.lang.object @line 1 @column 1

 

Thanks.

Melina Ailin Maquieyra November 8, 2021

Hi! Finally, I can resolved it! Thaks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events