Hi,
I wonder how to prevent a user(e.g. a newly created user) from login to JIRA directly?(Through API to implement)
Thanks
you need to deactivate that user : https://answers.atlassian.com/questions/127643/how-to-deactivate-a-user-programmatically-java-rest-sql
ref : https://docs.atlassian.com/impl/ImmutableUser.Builder.active(boolean)
best regards
JIRA run whitin a java jvm .. this hardly mix with php.
if you want to use php , then you just have to call the jira rest api from your php code. you can easily do some rapide prototyping with curl or any tools of choices for rest :
if you dont want to make 2 disctinct call , you can create a REST Service Plugin with the above mentioned code , and then call this url from you php code .
best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.