Forums

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

Create a rule but it's not running correctly. Please help

Hoa Nguyenthi August 24, 2018

the rule as below:

When issue is created

If these match...

issue type = A and Field B = 1

then edit issue with edit assignee = user1

Otherwise, if these match...

issue type = A and (Field B = 2 Or Field B=3)

then edit issue with edit assignee = user2

1 answer

0 votes
Dave Bosman [Realdolmen]
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.
August 24, 2018

Hi,

 

Can those users be assigned to that issue? 

Does the user that is performing the automation task has privileges to assign issues?

If this is not the answer, please define what is not working? 

Also please post a screenshot of configuration.  

 

Regards

Dave

Hoa Nguyenthi August 24, 2018

 

Hi Dave, the configuration as below:

Screen Shot 2018-08-24 at 3.01.43 PM.png

Dave Bosman [Realdolmen]
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.
August 24, 2018

Hi,

 

With the settings seems nothing wrong. 

So i am going back to my first questions 

  • Can those users be assigned to that issue? 

  • Does the user that is performing the automation task has privileges to assign issues?

And

  • If you do a search on the jql that is used in the configuration. Do you get any results? 
Hoa Nguyenthi August 24, 2018

Hi Dave, 

  • Can those users be assigned to that issue? Yes

  • Does the user that is performing the automation task has privileges to assign issues? Yes

The rule does not run correct, issue's not assigned to users that I set. it displays "unassigned"

And if the rule does not run correctly, so how to search by JQL :)?

Dave Bosman [Realdolmen]
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.
August 24, 2018

So, you already created issues. Right? 

in the settings you use a jql to search for issues to edit. "Request Type" = "Travel Request (QI)" AND Subsidiary = "QUOINE CORPORATION"

If you enter this jql when you search for issues.  do you get any results? 

Hoa Nguyenthi August 24, 2018

Ah, yes, it's running fine with jql.

Dave Bosman [Realdolmen]
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.
August 24, 2018

In that case i am all out of answers for the moment. :-(

I tested it in our own environment and it worked perfectly. 

I hope someone else can help you out or maybe you could log an issue with Atlassian because for as far as i know it should work like this. 

Hoa Nguyenthi August 24, 2018

Hi Dave, 

I would like to know about your testing. Do we need to set the default value for the Subsidiary field or just leave "None" value?

Dave Bosman [Realdolmen]
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.
August 24, 2018

As any field, or custom field you can do whatever you want. It should always work. 

Hoa Nguyenthi August 24, 2018

OK many thanks Dave!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events