Error disabling user through CLI plugin (JIRA)


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.


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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

952 views 3 9
Read article

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