Forums

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

Workflow transaction

Z-EL April 6, 2018

Hello,

 I need in my workFlow,  to move an issue from one status to another , a transition that check  some data in data Base.

Can i make it with jira without  add-ons?

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Aswin Achuthan
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.
April 6, 2018

If you can get the value to Jira custom field by using some scripting in the server, then in workflow transition condition, we can use "Value Field" option to check the data.

Z-EL April 6, 2018

Thank you for the idea :)

Z-EL April 9, 2018

HI @Aswin Achuthan

I can get the value from the server.I tried to add a condition to a transition but i can't link it to my custom field value.

Can you please guide me how can i do it?

Thanks ;

Aswin Achuthan
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.
April 9, 2018

@Z-EL 

Is the field assigned to Jira issues in that project? check if you are able to view the custom field value in the view/edit issue screen.
The option to check custom fields is provided only by add-ons. If you have not installed JIRA Suite Utilities, Misc Workflow Extensions etc.. install any of them.

Updating Jira custom fields directl from database is not recommended, you can try nFeed plugin (if it is external database). They provide support for these add-ons.

Z-EL April 9, 2018

@Aswin Achuthan

Thank you for your response.

I ca see my field in issue screen.

I developed a new validator as an add-on .Actually, i can assign my validator to the transition, but when i move from status to an other, the method validate (method of the com.opensymphony.workflow.Validator) does not called.

I'm not sure if i should use this interface or use com.atlassian.validation.Validator

By the way i followed this example : http://jiradev.com/workflow-validator.html

What do you think? 

Thanks

Aswin Achuthan
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.
April 9, 2018

I think you are facing similar issue mentioned here : Workflow Validator class can not load 

Z-EL April 9, 2018

@Aswin Achuthan,

No , i have not the same issue.

I made a mistake,  i forgot to publish my new workflow :D

Thanks a lot for your help.

Suggest an answer

Log in or Sign up to answer