Error disabling user through CLI plugin (JIRA)

Hi

I have come across a bug and want your opinion how to get round it.,

I am trying to disable users through the CLI plugin.

Now if the user is a component lead then JIRA (through the UI) does not allow you to disable the user.

Now i would expect the same behavior if i try it through CLI

But the bug is that, despite the fact that the user is a component lead, CLI says that the account has been disabled (when in reality it is not)

How do we get round this bug.

Rahul

1 answer

1 accepted

It is likely the CLI is not recognizing the error coming back from JIRA and thinks the action succeeded when it did not. I have created JCLI-523. Sign-up for an id on that site and watch the issue.

Thanks Bob, is there any other side -effect of trying to disable such users through CLI. ?

imean at the moment it looks like a safe option since all it is doing is giving you a false message.

No, it is just asks JIRA do it using whatever available APIs there are. In this case, it is using UI base interfaces as there are no REST APIs available yet for this. Which is makes it more difficult to cover all the error cases correctly.

Thanks Bob, i cant get the link to buy the plugin and the pricing information.

Can you help me to the page please ?

Atlassian CLI license should have all the information you need regarding licensing and purchasing. Thank you for the purchase.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,896 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot